[Scummvm-cvs-logs] SF.net SVN: scummvm:[40444] scummvm/trunk/backends/platform/iphone/ osys_iphone.cpp
vinterstum at users.sourceforge.net
vinterstum at users.sourceforge.net
Mon May 11 08:20:51 CEST 2009
Revision: 40444
http://scummvm.svn.sourceforge.net/scummvm/?rev=40444&view=rev
Author: vinterstum
Date: 2009-05-11 06:20:51 +0000 (Mon, 11 May 2009)
Log Message:
-----------
Fixed some warnings
Modified Paths:
--------------
scummvm/trunk/backends/platform/iphone/osys_iphone.cpp
Modified: scummvm/trunk/backends/platform/iphone/osys_iphone.cpp
===================================================================
--- scummvm/trunk/backends/platform/iphone/osys_iphone.cpp 2009-05-10 23:53:05 UTC (rev 40443)
+++ scummvm/trunk/backends/platform/iphone/osys_iphone.cpp 2009-05-11 06:20:51 UTC (rev 40444)
@@ -340,7 +340,6 @@
void OSystem_IPHONE::drawDirtyOverlayRect(const Common::Rect& dirtyRect) {
int h = dirtyRect.bottom - dirtyRect.top;
- int w = dirtyRect.right - dirtyRect.left;
uint16 *src = (uint16 *)&_overlayBuffer[dirtyRect.top * _screenWidth + dirtyRect.left];
uint16 *dst = &_fullscreen[dirtyRect.top * _screenWidth + dirtyRect.left];
@@ -866,11 +865,10 @@
} else if (vecXNorm < -0.75 && vecYNorm > -0.5 && vecYNorm < 0.5) {
// Swipe left
return false;
- } else
- return false;
- } else
- return false;
-
+ }
+ }
+
+ return false;
}
void OSystem_IPHONE::handleEvent_orientationChanged(int orientation) {
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