aboutsummaryrefslogtreecommitdiff
path: root/src/edbox.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-25 06:11:11 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-25 06:11:11 -0400
commitdc292b54c8bea6ea5317ff334bd8c65248d94a6b (patch)
treed6508165aaaba20a0bae2367de809baae767a8a6 /src/edbox.c
parente52b749244b9b55673ee3ff6d2d9a54a27b64e32 (diff)
downloadfujinet-chat-dc292b54c8bea6ea5317ff334bd8c65248d94a6b.tar.gz
Save 426 bytes by making edbox_pos and edbox_len chars instead of ints. They never go above 239 anyway.
Diffstat (limited to 'src/edbox.c')
-rw-r--r--src/edbox.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/edbox.c b/src/edbox.c
index 1429c8c..5f4371b 100644
--- a/src/edbox.c
+++ b/src/edbox.c
@@ -10,12 +10,12 @@
extern void __fastcall__ bell(void);
char *old_edbox[EDBOX_SIZE];
-static u16 old_len;
+static char old_len;
static char typeover;
char edbox_visible = 0;
-static u16 edbox_pos; /* range 0 to EDBOX_SIZE - 1 */
-u16 edbox_len; /* idem */
+static char edbox_pos; /* range 0 to EDBOX_SIZE - 1 */
+char edbox_len; /* idem */
void (*edbox_callback)(void);