diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-25 04:22:16 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-25 04:22:16 -0400 |
| commit | b6114241eee666060cc7529d555eedde3114d98d (patch) | |
| tree | 77ad5971e263f0b70b6b9a31bbe02a695bdb8686 /src | |
| parent | abc14eb183b7e45bf6349aae495c19a0fae072a0 (diff) | |
| download | fujinet-chat-b6114241eee666060cc7529d555eedde3114d98d.tar.gz | |
Save 19 bytes by making a couple of ints into chars.
Diffstat (limited to 'src')
| -rw-r--r-- | src/edbox.c | 4 | ||||
| -rw-r--r-- | src/edbox.h | 2 |
2 files changed, 3 insertions, 3 deletions
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) */ |
