summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sprintf/src/sprintf.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-02-27 08:23:32 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-02-27 08:23:32 +0900
commit313f6b599796e84da07b850bf2b5d341bf2c156a (patch)
tree7274d1ca1f1cb29c6968428c3f885c84497eb7a5 /mrbgems/mruby-sprintf/src/sprintf.c
parentb31a90614d90ddd4607933ba6992e000ad04fc59 (diff)
downloadmruby-313f6b599796e84da07b850bf2b5d341bf2c156a.tar.gz
mruby-313f6b599796e84da07b850bf2b5d341bf2c156a.zip
forget to break in the switch statement
Diffstat (limited to 'mrbgems/mruby-sprintf/src/sprintf.c')
-rw-r--r--mrbgems/mruby-sprintf/src/sprintf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c
index 64b9f0787..b20cbe1df 100644
--- a/mrbgems/mruby-sprintf/src/sprintf.c
+++ b/mrbgems/mruby-sprintf/src/sprintf.c
@@ -654,6 +654,7 @@ retry:
case '\n':
case '\0':
p--;
+ break;
case '%':
if (flags != FNONE) {