aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-03-14 17:16:26 -0400
committerB. Watson <yalhcru@gmail.com>2019-03-14 17:16:26 -0400
commitc5cd84282aece77b60386a77abed238dd6b2fcdf (patch)
tree3f13e82c043f18afebde422bf6e33090a576b054 /src
parent1ceb0923baeb9d555c5dcc1f7e126b81673ad767 (diff)
downloadfujichat-c5cd84282aece77b60386a77abed238dd6b2fcdf.tar.gz
commands.c: fix bug that prevented no-argument commands from executing
Diffstat (limited to 'src')
-rw-r--r--src/commands.c4
-rw-r--r--src/fujichat.atrbin92176 -> 92176 bytes
-rw-r--r--src/fujitest.atrbin92176 -> 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
index 1425881..d29229e 100644
--- a/src/fujichat.atr
+++ b/src/fujichat.atr
Binary files differ
diff --git a/src/fujitest.atr b/src/fujitest.atr
index 5bb7da9..faa9134 100644
--- a/src/fujitest.atr
+++ b/src/fujitest.atr
Binary files differ