summaryrefslogtreecommitdiff
path: root/textscreen/txt_inputbox.c
diff options
context:
space:
mode:
authorRussell Rice2006-09-21 11:13:28 +0000
committerRussell Rice2006-09-21 11:13:28 +0000
commit6339c4cbeb608b008eafe0b1e358285ae08ef902 (patch)
tree10ea17c49b4d38a8b5ec769ccee965d30ab1a08c /textscreen/txt_inputbox.c
parent16c1bc056105cee72e86b3dda1cc323f1be2c7b2 (diff)
downloadchocolate-doom-6339c4cbeb608b008eafe0b1e358285ae08ef902.tar.gz
chocolate-doom-6339c4cbeb608b008eafe0b1e358285ae08ef902.tar.bz2
chocolate-doom-6339c4cbeb608b008eafe0b1e358285ae08ef902.zip
Fix a lot of warnings (for fussy compilers) and one always-true check
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 641
Diffstat (limited to 'textscreen/txt_inputbox.c')
-rw-r--r--textscreen/txt_inputbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/textscreen/txt_inputbox.c b/textscreen/txt_inputbox.c
index c3f4f255..4ef1300c 100644
--- a/textscreen/txt_inputbox.c
+++ b/textscreen/txt_inputbox.c
@@ -235,6 +235,7 @@ txt_widget_class_t txt_inputbox_class =
TXT_InputBoxKeyPress,
TXT_InputBoxDestructor,
TXT_InputBoxMousePress,
+ 0,
};
txt_widget_class_t txt_int_inputbox_class =
@@ -244,6 +245,7 @@ txt_widget_class_t txt_int_inputbox_class =
TXT_IntInputBoxKeyPress,
TXT_InputBoxDestructor,
TXT_InputBoxMousePress,
+ 0,
};
static void SetBufferFromValue(txt_inputbox_t *inputbox)