From dd52766c7be893a6a5db31bc396ccef8d758af45 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sun, 23 Oct 2011 19:25:55 +0000 Subject: Rework textscreen focus handling so that input boxes will stop editing when they lose their focus (thanks Twelve). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2460 --- textscreen/txt_strut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'textscreen/txt_strut.c') diff --git a/textscreen/txt_strut.c b/textscreen/txt_strut.c index f3a618f3..367e798a 100644 --- a/textscreen/txt_strut.c +++ b/textscreen/txt_strut.c @@ -39,7 +39,7 @@ static void TXT_StrutSizeCalc(TXT_UNCAST_ARG(strut)) strut->widget.h = strut->height; } -static void TXT_StrutDrawer(TXT_UNCAST_ARG(strut), int selected) +static void TXT_StrutDrawer(TXT_UNCAST_ARG(strut)) { // Nothing is drawn for a strut. } -- cgit v1.2.3