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:
parent
0be1f7bff1
commit
03cbcee632
@ -2209,7 +2209,7 @@ void Save_GIF(void)
|
|||||||
Main_current_layer++)
|
Main_current_layer++)
|
||||||
{
|
{
|
||||||
// Write a Graphic Control Extension
|
// 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)
|
//if (Main_current_layer > 0)
|
||||||
// GCE_block[3] = '\x05';
|
// GCE_block[3] = '\x05';
|
||||||
if (Main_current_layer == Main_backups->Pages->Nb_layers -1)
|
if (Main_current_layer == Main_backups->Pages->Nb_layers -1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user