summaryrefslogtreecommitdiff
path: root/src/hu_lib.c
diff options
context:
space:
mode:
authorSimon Howard2006-02-27 17:57:55 +0000
committerSimon Howard2006-02-27 17:57:55 +0000
commitb27540d3bae29ac3d0114d0ee852a26ec30977ba (patch)
tree5b05bb6a453d9c312bd4f99b70a97173992fc8a7 /src/hu_lib.c
parent62c214be727d68e11d27520068cc5ddee5778198 (diff)
downloadchocolate-doom-b27540d3bae29ac3d0114d0ee852a26ec30977ba.tar.gz
chocolate-doom-b27540d3bae29ac3d0114d0ee852a26ec30977ba.tar.bz2
chocolate-doom-b27540d3bae29ac3d0114d0ee852a26ec30977ba.zip
Fix chat mode
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 396
Diffstat (limited to 'src/hu_lib.c')
-rw-r--r--src/hu_lib.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hu_lib.c b/src/hu_lib.c
index 7f3d69be..f43fc05a 100644
--- a/src/hu_lib.c
+++ b/src/hu_lib.c
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: hu_lib.c 8 2005-07-23 16:44:57Z fraggle $
+// $Id: hu_lib.c 396 2006-02-27 17:57:55Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -34,7 +34,7 @@
//-----------------------------------------------------------------------------
static const char
-rcsid[] = "$Id: hu_lib.c 8 2005-07-23 16:44:57Z fraggle $";
+rcsid[] = "$Id: hu_lib.c 396 2006-02-27 17:57:55Z fraggle $";
#include <ctype.h>
@@ -332,6 +332,7 @@ HUlib_keyInIText
( hu_itext_t* it,
unsigned char ch )
{
+ ch = toupper(ch);
if (ch >= ' ' && ch <= '_')
HUlib_addCharToTextLine(&it->l, (char) ch);