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



commit 6c2cd97b868e7742f9a3ade611713e46a1759d1c
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 8abddcd..1d288f5 100644
--- a/plug-ins/script-fu/tinyscheme/scheme.c
+++ b/plug-ins/script-fu/tinyscheme/scheme.c
@@ -2177,7 +2177,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]