diff src/gif_io.c @ 4521:383ab474a241

Fix docstring typo.
author Stephen J. Turnbull <stephen@xemacs.org>
date Tue, 28 Oct 2008 10:38:26 +0900
parents 61855263cb07
children fc7067b7f407
line wrap: on
line diff
--- a/src/gif_io.c	Mon Oct 27 09:51:51 2008 +0900
+++ b/src/gif_io.c	Tue Oct 28 10:38:26 2008 +0900
@@ -140,7 +140,7 @@
   return ((*(GifIO->CloseFunc))(GifIO->CloseFunc_data));
 }
 
-static char *GifErrorString[14] = {
+static const char *GifErrorString[14] = {
   "Failed to open given file",			/* D_GIF_ERR_OPEN_FAILED */
   "Failed to read from given file",		/* D_GIF_ERR_READ_FAILED */
   "Given file is NOT a GIF file",		/* D_GIF_ERR_NOT_GIF_FILE */
@@ -164,7 +164,7 @@
 *****************************************************************************/
 const char *GetGifError(int errore)
 {
-    char *Err;
+    const char *Err;
 
     switch(errore) {
 	case D_GIF_ERR_OPEN_FAILED: