summaryrefslogtreecommitdiff
path: root/textscreen/txt_label.c
diff options
context:
space:
mode:
authorSimon Howard2006-09-19 23:49:20 +0000
committerSimon Howard2006-09-19 23:49:20 +0000
commit7bc72c666dc1d1e033c01b60ca38673651c7e81c (patch)
tree9addb24980e13065c07408b74e9618d15ab0c253 /textscreen/txt_label.c
parent3b747fcb62f9b3e5ffd9aec2f39c9ecc9f9fc5c8 (diff)
downloadchocolate-doom-7bc72c666dc1d1e033c01b60ca38673651c7e81c.tar.gz
chocolate-doom-7bc72c666dc1d1e033c01b60ca38673651c7e81c.tar.bz2
chocolate-doom-7bc72c666dc1d1e033c01b60ca38673651c7e81c.zip
Fix textscreen warnings.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 626
Diffstat (limited to 'textscreen/txt_label.c')
-rw-r--r--textscreen/txt_label.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/textscreen/txt_label.c b/textscreen/txt_label.c
index 6434f5f6..86250372 100644
--- a/textscreen/txt_label.c
+++ b/textscreen/txt_label.c
@@ -23,6 +23,7 @@
#include <string.h>
#include "txt_label.h"
+#include "txt_gui.h"
#include "txt_io.h"
#include "txt_main.h"
#include "txt_window.h"
@@ -40,7 +41,7 @@ static void TXT_LabelDrawer(TXT_UNCAST_ARG(label), int selected)
TXT_CAST_ARG(txt_label_t, label);
int x, y;
int origin_x, origin_y;
- int align_indent;
+ int align_indent = 0;
int w;
w = label->widget.w;