[gimp] Fixed scheme struct strbuff[] size to handle long strings in register blocks



commit 32b7b79c33fc9deb11af10da77d0d2a7c412f345
Author: Kevin Cozens <kcozens cvs gnome org>
Date:   Sat Feb 13 15:05:02 2010 -0500

    Fixed scheme struct strbuff[] size to handle long strings in register blocks

 plug-ins/script-fu/tinyscheme/scheme-private.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/script-fu/tinyscheme/scheme-private.h b/plug-ins/script-fu/tinyscheme/scheme-private.h
index 95b5d24..addeb6c 100644
--- a/plug-ins/script-fu/tinyscheme/scheme-private.h
+++ b/plug-ins/script-fu/tinyscheme/scheme-private.h
@@ -123,7 +123,7 @@ char    no_memory;       /* Whether mem. alloc. has failed */
 
 #define LINESIZE 1024
 char    linebuff[LINESIZE];
-#define STRBUFFSIZE 256
+#define STRBUFFSIZE 1024
 char    strbuff[STRBUFFSIZE];
 
 FILE *tmpfp;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]