Skip to content

Commit

Permalink
tiny formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jcupitt committed Jun 1, 2022
1 parent c9b5b8c commit af23e9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libvips/foreign/nsgifload.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,8 @@ vips_foreign_load_nsgif_set_header( VipsForeignLoadNsgif *gif,
(const int *) table, entries );

colours = entries;
} else {
}
else {
int i;

colours = 0;
Expand All @@ -319,9 +320,8 @@ vips_foreign_load_nsgif_set_header( VipsForeignLoadNsgif *gif,

for( i = 0; i < gif->info->frame_count; i++ ) {
if( nsgif_local_palette( gif->anim, i, table,
&entries) ) {
colours = VIPS_MAX(colours, entries);
}
&entries ) )
colours = VIPS_MAX( colours, entries );
}
}

Expand Down

0 comments on commit af23e9f

Please sign in to comment.