ref: b27540d3bae29ac3d0114d0ee852a26ec30977ba
parent: 62c214be727d68e11d27520068cc5ddee5778198
author: Simon Howard <fraggle@gmail.com>
date: Mon Feb 27 12:57:55 EST 2006
Fix chat mode Subversion-branch: /trunk/chocolate-doom Subversion-revision: 396
--- a/src/doomdef.h
+++ b/src/doomdef.h
@@ -1,7 +1,7 @@
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
-// $Id: doomdef.h 256 2006-01-06 19:26:02Z fraggle $
+// $Id: doomdef.h 396 2006-02-27 17:57:55Z fraggle $
//
// Copyright(C) 1993-1996 Id Software, Inc.
// Copyright(C) 2005 Simon Howard
@@ -276,7 +276,7 @@
#define KEY_F11 (0x80+0x57)
#define KEY_F12 (0x80+0x58)
-#define KEY_BACKSPACE 127
+#define KEY_BACKSPACE '\b'
#define KEY_PAUSE 0xff
#define KEY_EQUALS 0x3d
--- 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 @@
( hu_itext_t* it,
unsigned char ch )
{
+ ch = toupper(ch);
if (ch >= ' ' && ch <= '_')
HUlib_addCharToTextLine(&it->l, (char) ch);