summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-04-03 16:56:27 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-04-03 16:56:27 +0900
commit77331d127b6ab202e703bd7297ab6aabf4a314e9 (patch)
treee86c5ee7c9f4a5a867d63745607f525116b84d19 /mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c
parentfbf4089d2f9480b5f5c9b8cdc312ad5e8417f62e (diff)
downloadmruby-77331d127b6ab202e703bd7297ab6aabf4a314e9.tar.gz
mruby-77331d127b6ab202e703bd7297ab6aabf4a314e9.zip
Unify `else` clause style
Diffstat (limited to 'mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c')
-rw-r--r--mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c b/mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c
index 1aefb691d..cb4c738fc 100644
--- a/mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c
+++ b/mrbgems/mruby-bin-debugger/tools/mrdb/cmdrun.c
@@ -13,7 +13,8 @@ dbgcmd_run(mrb_state *mrb, mrdb_state *mrdb)
if (dbg->xm == DBG_INIT){
dbg->xm = DBG_RUN;
- } else {
+ }
+ else {
dbg->xm = DBG_QUIT;
if (dbg->xphase == DBG_PHASE_RUNNING){
struct RClass *exc;
@@ -40,7 +41,8 @@ dbgcmd_continue(mrb_state *mrb, mrdb_state *mrdb)
if (dbg->xphase == DBG_PHASE_AFTER_RUN){
puts("The program is not running.");
dbg->xm = DBG_QUIT;
- } else {
+ }
+ else {
dbg->xm = DBG_RUN;
}
return DBGST_CONTINUE;