Fix issue 258: Crash on non-Windows platforms when saving GIF

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1224 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud 2009-11-25 02:22:32 +00:00
parent 0be1f7bff1
commit 03cbcee632

View File

@ -2209,7 +2209,7 @@ void Save_GIF(void)
Main_current_layer++)
{
// Write a Graphic Control Extension
char * GCE_block = "\x21\xF9\x04\x05\x05\x00\x00\x00";
char GCE_block[] = "\x21\xF9\x04\x05\x05\x00\x00\x00";
//if (Main_current_layer > 0)
// GCE_block[3] = '\x05';
if (Main_current_layer == Main_backups->Pages->Nb_layers -1)