summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2011-02-05 16:50:28 +0000
committerSimon Howard2011-02-05 16:50:28 +0000
commita366f68b2959282b22ab6f08569a253f0540745c (patch)
treee6347eab7238327903f0820220fa4a665afce783
parent83fb03a0e09920ec324734e9ae3a6cd15fb041e7 (diff)
downloadchocolate-doom-a366f68b2959282b22ab6f08569a253f0540745c.tar.gz
chocolate-doom-a366f68b2959282b22ab6f08569a253f0540745c.tar.bz2
chocolate-doom-a366f68b2959282b22ab6f08569a253f0540745c.zip
Fix bug with libtextscreen where it was not possible to type a '+'
(thanks Alexandre Xavier). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2249
-rw-r--r--NEWS7
-rw-r--r--textscreen/txt_sdl.c4
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;