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

djwillis at users.sourceforge.net djwillis at users.sourceforge.net
Sun Aug 2 23:18:40 CEST 2009


Revision: 43010
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43010&view=rev
Author:   djwillis
Date:     2009-08-02 21:18:25 +0000 (Sun, 02 Aug 2009)

Log Message:
-----------
GP2XWiz/SDL: Fix 2 small typos.

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

Modified: scummvm/trunk/backends/platform/gp2xwiz/gp2xwiz-graphics.cpp
===================================================================
--- scummvm/trunk/backends/platform/gp2xwiz/gp2xwiz-graphics.cpp	2009-08-02 19:58:11 UTC (rev 43009)
+++ scummvm/trunk/backends/platform/gp2xwiz/gp2xwiz-graphics.cpp	2009-08-02 21:18:25 UTC (rev 43010)
@@ -334,7 +334,7 @@
 
 		for (r = _dirtyRectList; r != lastRect; ++r) {
 			dst = *r;
-			dst.x++;	// Shift rect by one since 2xSai needs to acces the data around
+			dst.x++;	// Shift rect by one since 2xSai needs to access the data around
 			dst.y++;	// any pixel to scale it, and we want to avoid mem access crashes.
 
 			if (SDL_BlitSurface(origSurf, r, srcSurf, &dst) != 0)
@@ -371,11 +371,11 @@
 				assert(scalerProc != NULL);
 
                 if(_videoMode.mode == GFX_HALF && scalerProc == HalfScale){
-                    if(dst_x%2==1){
+                    if(dst_x % 2 == 1){
                         dst_x--;
                         dst_w++;
                     }
-                    if(dst_y%2==1){
+                    if(dst_y % 2 == 1){
                         dst_y--;
                         dst_h++;
                     }

Modified: scummvm/trunk/backends/platform/sdl/graphics.cpp
===================================================================
--- scummvm/trunk/backends/platform/sdl/graphics.cpp	2009-08-02 19:58:11 UTC (rev 43009)
+++ scummvm/trunk/backends/platform/sdl/graphics.cpp	2009-08-02 21:18:25 UTC (rev 43010)
@@ -675,7 +675,7 @@
 
 		for (r = _dirtyRectList; r != lastRect; ++r) {
 			dst = *r;
-			dst.x++;	// Shift rect by one since 2xSai needs to acces the data around
+			dst.x++;	// Shift rect by one since 2xSai needs to access the data around
 			dst.y++;	// any pixel to scale it, and we want to avoid mem access crashes.
 
 			if (SDL_BlitSurface(origSurf, r, srcSurf, &dst) != 0)


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