From b6114241eee666060cc7529d555eedde3114d98d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 25 Mar 2026 04:22:16 -0400 Subject: Save 19 bytes by making a couple of ints into chars. --- src/edbox.c | 4 ++-- src/edbox.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/edbox.c b/src/edbox.c index 4adba8d..ad04140 100644 --- a/src/edbox.c +++ b/src/edbox.c @@ -11,9 +11,9 @@ extern void __fastcall__ bell(void); char *old_edbox[EDBOX_SIZE]; static u16 old_len; -static int typeover; +static char typeover; -int edbox_visible = 0; +char edbox_visible = 0; static u16 edbox_pos; /* range 0 to EDBOX_SIZE - 1 */ u16 edbox_len; /* idem */ diff --git a/src/edbox.h b/src/edbox.h index 35ce406..a469eaa 100644 --- a/src/edbox.h +++ b/src/edbox.h @@ -4,7 +4,7 @@ #define EDBOX_SIZE 240 -extern int edbox_visible; +extern char edbox_visible; extern u16 edbox_len; /* clear the contents of the edit box (whether it's visible or not) */ -- cgit v1.2.3