shithub: choc

Download patch

ref: a366f68b2959282b22ab6f08569a253f0540745c
parent: 83fb03a0e09920ec324734e9ae3a6cd15fb041e7
author: Simon Howard <[email protected]>
date: Sat Feb 5 11:50:28 EST 2011

Fix bug with libtextscreen where it was not possible to type a '+'
(thanks Alexandre Xavier).

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 2249

--- a/NEWS
+++ b/NEWS
@@ -1,11 +1,16 @@
 1.6.0 (2011-??-??):
 
     Bugs fixed:
-     * Menu navigation when using joystick/joypad (thanks AlexXav).
+     * Menu navigation when using joystick/joypad (thanks Alexandre
+       Xavier).
      * For configuration file value for shift keys, use scan code for
        right shift, not left shift (thanks AlexXav).
      * Default joystick buttons for the setup tool now match Vanilla
        (thanks twipley).
+
+    libtextscreen:
+     * It is now possible to type a '+' in input boxes (thanks
+       Alexandre Xavier).
 
 1.5.0 (2011-01-02):
 
--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -384,10 +384,6 @@
 
         case SDLK_PAUSE:       return KEY_PAUSE;
 
-#if !SDL_VERSION_ATLEAST(1, 3, 0)
-        case SDLK_EQUALS:      return KEY_EQUALS;
-#endif
-
         case SDLK_LSHIFT:
         case SDLK_RSHIFT:
                                return KEY_RSHIFT;