Save_GIF(): fix for 1 pixel GIFs

This commit is contained in:
Thomas Bernard 2017-12-20 00:30:51 +01:00
parent ea81cbb46b
commit 5c932dd2d9

View File

@ -3290,7 +3290,7 @@ void Save_GIF(T_IO_Context * context)
start=current_string=GIF_next_pixel(context, &IDB);
descend=1;
do
while ((!GIF_stop) && (!File_error))
{
current_char=GIF_next_pixel(context, &IDB);
@ -3357,7 +3357,6 @@ void Save_GIF(T_IO_Context * context)
descend=1;
}
}
while ((!GIF_stop) && (!File_error));
if (!File_error)
{