From 03cbcee6329cd33fa67de2d997ddda9972bfed1d Mon Sep 17 00:00:00 2001 From: Yves Rizoud Date: Wed, 25 Nov 2009 02:22:32 +0000 Subject: [PATCH] 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 --- fileformats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fileformats.c b/fileformats.c index bc5a6462..3a5b156d 100644 --- a/fileformats.c +++ b/fileformats.c @@ -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)