From 7bc72c666dc1d1e033c01b60ca38673651c7e81c Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 19 Sep 2006 23:49:20 +0000 Subject: Fix textscreen warnings. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 626 --- textscreen/txt_label.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'textscreen/txt_label.c') 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 #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; -- cgit v1.2.3