aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-29 23:36:44 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-29 23:36:44 -0400
commit429938fa67beef12eb348dec04d748ab58b00678 (patch)
treedf59be6a9084f5e58675ef0333bb7ad7c3bb946b /src/main.c
parent4ab26eee1dd329152cd2424b0851f2ce950f96bc (diff)
downloadfujinet-chat-429938fa67beef12eb348dec04d748ab58b00678.tar.gz
Banish itoa(), save 170 bytes.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 7593fa6..a705714 100644
--- a/src/main.c
+++ b/src/main.c
@@ -147,8 +147,7 @@ void reconnect(void) {
if(reconnect_timeout) {
OS.cdtmv3 = reconnect_timeout * hz;
scr_print_current(" or wait ");
- itoa(reconnect_timeout, numbuf, 10);
- scr_print_current(numbuf);
+ scr_cur_printnum(reconnect_timeout);
scr_print_current(" sec");
if(reconnect_timeout < 64)
reconnect_timeout <<= 1;