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 | |
parent | 1ceb0923baeb9d555c5dcc1f7e126b81673ad767 (diff) | |
download | fujichat-c5cd84282aece77b60386a77abed238dd6b2fcdf.tar.gz |
commands.c: fix bug that prevented no-argument commands from executing
-rw-r--r-- | doc/TODO | 4 | ||||
-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 |
4 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +- move format_ip() from common.(c|h) to a new formatip.(c|h). Then + eliminate all printf() calls from fujimenu.c and makeauto.c. This + should reduce the binary size & speed up initial loads. + - port rs232.h code to new serial.h cc65 API, so we aren't stuck using old versions of cc65. 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 |