aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/edbox.c4
-rw-r--r--src/edbox.h2
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) */