[Scummvm-cvs-logs] SF.net SVN: scummvm: [27614] scummvm/trunk/backends/platform/sdl/events.cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Fri Jun 22 20:57:08 CEST 2007


Revision: 27614
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27614&view=rev
Author:   mthreepwood
Date:     2007-06-22 11:57:07 -0700 (Fri, 22 Jun 2007)

Log Message:
-----------
fix compile (thanks salty-horse!)

Modified Paths:
--------------
    scummvm/trunk/backends/platform/sdl/events.cpp

Modified: scummvm/trunk/backends/platform/sdl/events.cpp
===================================================================
--- scummvm/trunk/backends/platform/sdl/events.cpp	2007-06-22 18:30:32 UTC (rev 27613)
+++ scummvm/trunk/backends/platform/sdl/events.cpp	2007-06-22 18:57:07 UTC (rev 27614)
@@ -52,7 +52,7 @@
 static int mapKey(SDLKey key, SDLMod mod, Uint16 unicode)
 {
 	if (key >= SDLK_F1 && key <= SDLK_F9) {
-		return key - SDLK_F1 + ASCII_F1;
+		return key - SDLK_F1 + Common::ASCII_F1;
 	} else if (key >= SDLK_KP0 && key <= SDLK_KP9) {
 		return key - SDLK_KP0 + '0';
 	} else if (key >= SDLK_UP && key <= SDLK_PAGEDOWN) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list