[gimp] plug-ins, pdb: Add missing break statements to switch



commit 541de6ed9c861c744d2b377ef1b1b722d01033de
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Sat Aug 16 02:25:49 2014 +0200

    plug-ins, pdb: Add missing break statements to switch

 app/pdb/plug-in-compat-cmds.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/pdb/plug-in-compat-cmds.c b/app/pdb/plug-in-compat-cmds.c
index 89d29d5..bb48af4 100644
--- a/app/pdb/plug-in-compat-cmds.c
+++ b/app/pdb/plug-in-compat-cmds.c
@@ -761,9 +761,9 @@ plug_in_convmatrix_invoker (GimpProcedure         *procedure,
 
           switch (bmode)
             {
-            case 0: border = GEGL_ABYSS_CLAMP;
-            case 1: border = GEGL_ABYSS_LOOP;
-            case 2: border = GEGL_ABYSS_NONE;
+            case 0: border = GEGL_ABYSS_CLAMP; break;
+            case 1: border = GEGL_ABYSS_LOOP; break;
+            case 2: border = GEGL_ABYSS_NONE; break;
             }
 
           node = gegl_node_new_child (NULL,


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