[gimp] scheme: add missing breaks



commit 68a4c4f85cf32153db96a3210a0f27c72e600775
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Wed Oct 29 21:09:13 2014 +0100

    scheme: add missing breaks

 plug-ins/script-fu/tinyscheme/scheme.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/script-fu/tinyscheme/scheme.c b/plug-ins/script-fu/tinyscheme/scheme.c
index f0c1380..47c9f3e 100644
--- a/plug-ins/script-fu/tinyscheme/scheme.c
+++ b/plug-ins/script-fu/tinyscheme/scheme.c
@@ -2179,12 +2179,16 @@ static void atom2str(scheme *sc, pointer l, int f, char **pp, int *plen) {
                switch(c) {
                case ' ':
                     p = "#\\space";
+                    break;
                case '\n':
                     p = "#\\newline";
+                    break;
                case '\r':
                     p = "#\\return";
+                    break;
                case '\t':
                     p = "#\\tab";
+                    break;
                default:
 #if USE_ASCII_NAMES
                     if(c==127) {
@@ -2200,6 +2204,7 @@ static void atom2str(scheme *sc, pointer l, int f, char **pp, int *plen) {
                     }
 #endif
                     snprintf(p,STRBUFFSIZE,"#\\%c",c); break;
+                    break;
                }
           }
      } else if (is_symbol(l)) {


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