[gimp] Removed extraneous 'x' when writing character constants. Fixes bug #721775.



commit 1fa797e73190453a5cb5688472672ba4203295cb
Author: Kevin Cozens <kevin ve3syb ca>
Date:   Mon Feb 3 17:30:04 2014 -0500

    Removed extraneous 'x' when writing character constants. Fixes bug #721775.

 plug-ins/script-fu/tinyscheme/scheme.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/script-fu/tinyscheme/scheme.c b/plug-ins/script-fu/tinyscheme/scheme.c
index 441c721..989fdd2 100644
--- a/plug-ins/script-fu/tinyscheme/scheme.c
+++ b/plug-ins/script-fu/tinyscheme/scheme.c
@@ -2199,7 +2199,7 @@ static void atom2str(scheme *sc, pointer l, int f, char **pp, int *plen) {
                       snprintf(p,STRBUFFSIZE,"#\\x%x",c); break;
                     }
 #endif
-                    snprintf(p,STRBUFFSIZE,"#\\x%c",c); break;
+                    snprintf(p,STRBUFFSIZE,"#\\%c",c); break;
                }
           }
      } else if (is_symbol(l)) {


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