diff options
author | B. Watson <yalhcru@gmail.com> | 2019-03-14 17:16:26 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2019-03-14 17:16:26 -0400 |
commit | c5cd84282aece77b60386a77abed238dd6b2fcdf (patch) | |
tree | 3f13e82c043f18afebde422bf6e33090a576b054 /src | |
parent | 1ceb0923baeb9d555c5dcc1f7e126b81673ad767 (diff) | |
download | fujichat-c5cd84282aece77b60386a77abed238dd6b2fcdf.tar.gz |
commands.c: fix bug that prevented no-argument commands from executing
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.c | 4 | ||||
-rw-r--r-- | src/fujichat.atr | bin | 92176 -> 92176 bytes | |||
-rw-r--r-- | src/fujitest.atr | bin | 92176 -> 92176 bytes |
3 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.c b/src/commands.c index 5f9ad04..70a2485 100644 --- a/src/commands.c +++ b/src/commands.c @@ -143,7 +143,7 @@ void cmd_nick(void) { } void cmd_clear(void) { - putchar(125); /* ATASCII screen clear code */ + fuji_putchar(0x7d); /* ATASCII screen clear code */ } #ifdef FEAT_COLOR_COMMAND @@ -220,7 +220,7 @@ void handle_command(void) { err_arg_not_allowed(); return; } - return; + break; default: break; diff --git a/src/fujichat.atr b/src/fujichat.atr Binary files differindex 1425881..d29229e 100644 --- a/src/fujichat.atr +++ b/src/fujichat.atr diff --git a/src/fujitest.atr b/src/fujitest.atr Binary files differindex 5bb7da9..faa9134 100644 --- a/src/fujitest.atr +++ b/src/fujitest.atr |