[Scummvm-cvs-logs] SF.net SVN: scummvm:[44412] scummvm/trunk/backends/platform/linuxmoto

dhewg at users.sourceforge.net dhewg at users.sourceforge.net
Sun Sep 27 19:18:51 CEST 2009


Revision: 44412
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44412&view=rev
Author:   dhewg
Date:     2009-09-27 17:18:30 +0000 (Sun, 27 Sep 2009)

Log Message:
-----------
Properly return values on functions with non-void return types.

Modified Paths:
--------------
    scummvm/trunk/backends/platform/linuxmoto/hardwarekeys.cpp
    scummvm/trunk/backends/platform/linuxmoto/linuxmoto-graphics.cpp

Modified: scummvm/trunk/backends/platform/linuxmoto/hardwarekeys.cpp
===================================================================
--- scummvm/trunk/backends/platform/linuxmoto/hardwarekeys.cpp	2009-09-27 16:33:59 UTC (rev 44411)
+++ scummvm/trunk/backends/platform/linuxmoto/hardwarekeys.cpp	2009-09-27 17:18:30 UTC (rev 44412)
@@ -113,5 +113,5 @@
 
 
 Common::HardwareKeySet *OSystem_LINUXMOTO::getHardwareKeySet() {
-	OSystem_SDL::getHardwareKeySet();
+	return OSystem_SDL::getHardwareKeySet();
 }

Modified: scummvm/trunk/backends/platform/linuxmoto/linuxmoto-graphics.cpp
===================================================================
--- scummvm/trunk/backends/platform/linuxmoto/linuxmoto-graphics.cpp	2009-09-27 16:33:59 UTC (rev 44411)
+++ scummvm/trunk/backends/platform/linuxmoto/linuxmoto-graphics.cpp	2009-09-27 17:18:30 UTC (rev 44412)
@@ -162,7 +162,7 @@
 	_videoMode.hardwareHeight = effectiveScreenHeight();
     }
 
-	OSystem_SDL::loadGFXMode();
+	return OSystem_SDL::loadGFXMode();
 }
 
 void OSystem_LINUXMOTO::drawMouse() {


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