Funky function call indent fix

A word-wrapped line of code using an array to access a
function was confusing `indent` (causing it to change back & forth
everytime `indent` was invoked!)

Cleaned it up and wrapped in /* *INDENT-OFF* */.../* *INDENT-ON* */
to prevent further confusion.
This commit is contained in:
Bill Kendrick 2019-04-13 12:08:04 -07:00
parent dd82fa06e3
commit e996746351

View file

@ -13590,12 +13590,11 @@ static void do_png_embed_data(png_structp png_ptr)
for (x = 0; x < current_node->save_width; x++) for (x = 0; x < current_node->save_width; x++)
for (y = 0; y < current_node->save_height; y++) for (y = 0; y < current_node->save_height; y++)
{ {
pix = /* *INDENT-OFF* */
getpixels[current_node->label_node_surface->format->BytesPerPixel] (current_node-> pix = getpixels[current_node->label_node_surface->format->BytesPerPixel](current_node->label_node_surface, x, y);
label_node_surface, x, y); /* *INDENT-ON* */
SDL_GetRGBA(pix, current_label_node->label_node_surface->format, &r, &g, &b, &a); SDL_GetRGBA(pix, current_label_node->label_node_surface->format, &r, &g, &b, &a);
fwrite(&a, alpha_size, 1, lfi); fwrite(&a, alpha_size, 1, lfi);
} }
SDL_UnlockSurface(current_node->label_node_surface); SDL_UnlockSurface(current_node->label_node_surface);
fprintf(lfi, "\n\n"); fprintf(lfi, "\n\n");