[gimp] Bug 618961 - Bad escape character in script-fu palette-export prevents parsing



commit 9cd68579e4a10daf86c201901e1d3e6a263efcb5
Author: Barak Itkin <lightningismyname gmail com>
Date:   Tue May 18 09:56:17 2010 +0300

    Bug 618961 - Bad escape character in script-fu palette-export prevents parsing
    
    Fix a bad string escape character in palette-export.scm which prevents
    the file from being parsed.

 plug-ins/script-fu/scripts/palette-export.scm |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/script-fu/scripts/palette-export.scm b/plug-ins/script-fu/scripts/palette-export.scm
index 80d2158..085894c 100644
--- a/plug-ins/script-fu/scripts/palette-export.scm
+++ b/plug-ins/script-fu/scripts/palette-export.scm
@@ -238,8 +238,10 @@
   )
 
 (define (bad-file-name)
-  (gimp-message (string-append _"The file name you entered is not a suitable name for a file name! \"
-                               file-name _"All the characters in the file name are either white-spaces or characters which can not appear in file names (The following characters can not appear in file names: "
+  (gimp-message (string-append _"The file name you entered is not a suitable name for a file name!\n"
+                               file-name _"\nAll the characters in the file name are either "
+                               _"white-spaces or characters which can not appear in file names (The "
+                               _"following characters can not appear in file names: "
                                (list->string illegal-file-name-chars) ")")))
 
 ; ----------------------------------------------------------------------------------------------------



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