foxygit / doom Log in
commit a366f68b2959282b22ab6f08569a253f0540745c
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Sat Feb 5 16:50:28 2011 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Sat Feb 5 16:50:28 2011 +0000

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

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 2249
---
 NEWS                 | 7 ++++++-
 textscreen/txt_sdl.c | 4 ----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/NEWS b/NEWS
index 88ddd060..7e89584c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,12 +1,17 @@
 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):

     Big changes in this version:
diff --git a/textscreen/txt_sdl.c b/textscreen/txt_sdl.c
index 315d2762..365e6bf0 100644
--- a/textscreen/txt_sdl.c
+++ b/textscreen/txt_sdl.c
@@ -384,10 +384,6 @@ static int TranslateKey(SDL_keysym *sym)

         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;