]> granicus.if.org Git - neomutt/commitdiff
bug: add missing break
authorRichard Russon <rich@flatcap.org>
Wed, 5 Apr 2017 00:29:05 +0000 (01:29 +0100)
committerRichard Russon <rich@flatcap.org>
Sat, 8 Apr 2017 21:24:36 +0000 (22:24 +0100)
Add a missing break to a switch.
OP_EDITOR_QUOTE_CHAR leak through into OP_EDITOR_TRANSPOSE_CHARS.

enter.c

diff --git a/enter.c b/enter.c
index 28c3650164e2de8a1bcda99f6bc242ea2a051079..f2746068492bddcd919f0ab8eef760455350077a 100644 (file)
--- a/enter.c
+++ b/enter.c
@@ -695,6 +695,7 @@ int _mutt_enter_string (char *buf, size_t buflen, int col,
              goto self_insert;
            }
          }
+          break;
 
        case OP_EDITOR_TRANSPOSE_CHARS:
          if (state->lastchar < 2)