summaryrefslogtreecommitdiff
path: root/textscreen/txt_strut.c
diff options
context:
space:
mode:
authorSimon Howard2011-10-23 19:25:55 +0000
committerSimon Howard2011-10-23 19:25:55 +0000
commitdd52766c7be893a6a5db31bc396ccef8d758af45 (patch)
tree0ece2688a18f5f8f3d893047973d1c6ab4c82df1 /textscreen/txt_strut.c
parent71d316afb2ae7191a4ef6fac2d757238ae3616e1 (diff)
downloadchocolate-doom-dd52766c7be893a6a5db31bc396ccef8d758af45.tar.gz
chocolate-doom-dd52766c7be893a6a5db31bc396ccef8d758af45.tar.bz2
chocolate-doom-dd52766c7be893a6a5db31bc396ccef8d758af45.zip
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
Diffstat (limited to 'textscreen/txt_strut.c')
-rw-r--r--textscreen/txt_strut.c2
1 files changed, 1 insertions, 1 deletions
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.
}