[Scummvm-cvs-logs] CVS: scummvm/gui newgui.cpp,1.90,1.91

Max Horn fingolfin at users.sourceforge.net
Sun Dec 5 09:44:01 CET 2004


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26853/gui

Modified Files:
	newgui.cpp 
Log Message:
Clean up OSystem::Event

Index: newgui.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/newgui.cpp,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- newgui.cpp	27 Nov 2004 00:55:48 -0000	1.90
+++ newgui.cpp	5 Dec 2004 17:42:17 -0000	1.91
@@ -110,7 +110,7 @@
 		uint32 time = _system->getMillis();
 
 		while (_system->pollEvent(event)) {
-			switch (event.event_code) {
+			switch (event.type) {
 			case OSystem::EVENT_KEYDOWN:
 #if !defined(__PALM_OS__)
 				// init continuous event stream





More information about the Scummvm-git-logs mailing list