[Scummvm-cvs-logs] SF.net SVN: scummvm:[46232] scummvm/trunk

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue Dec 1 20:19:59 CET 2009


Revision: 46232
          http://scummvm.svn.sourceforge.net/scummvm/?rev=46232&view=rev
Author:   eriktorbjorn
Date:     2009-12-01 19:19:58 +0000 (Tue, 01 Dec 2009)

Log Message:
-----------
Removed unnecessary semi-colons.

Modified Paths:
--------------
    scummvm/trunk/backends/fs/amigaos4/amigaos4-fs.cpp
    scummvm/trunk/engines/agos/script_pn.cpp
    scummvm/trunk/engines/kyra/gui_lol.h
    scummvm/trunk/engines/sci/gui/gui_gfx.cpp
    scummvm/trunk/engines/sci/gui/gui_palette.cpp

Modified: scummvm/trunk/backends/fs/amigaos4/amigaos4-fs.cpp
===================================================================
--- scummvm/trunk/backends/fs/amigaos4/amigaos4-fs.cpp	2009-12-01 15:52:42 UTC (rev 46231)
+++ scummvm/trunk/backends/fs/amigaos4/amigaos4-fs.cpp	2009-12-01 19:19:58 UTC (rev 46232)
@@ -172,7 +172,7 @@
 		_nProt = pExd->Protection;
 		if (EXD_IS_DIRECTORY(pExd)) {
 			_bIsDirectory = true;
-			_pFileLock = IDOS->Lock((CONST_STRPTR)_sPath.c_str(), SHARED_LOCK);;
+			_pFileLock = IDOS->Lock((CONST_STRPTR)_sPath.c_str(), SHARED_LOCK);
 			_bIsValid = (_pFileLock != 0);
 
 			// Add a trailing slash if it is needed

Modified: scummvm/trunk/engines/agos/script_pn.cpp
===================================================================
--- scummvm/trunk/engines/agos/script_pn.cpp	2009-12-01 15:52:42 UTC (rev 46231)
+++ scummvm/trunk/engines/agos/script_pn.cpp	2009-12-01 19:19:58 UTC (rev 46232)
@@ -259,7 +259,7 @@
 }
 
 void AGOSEngine_PN::opn_opcode15() {
-	int32 x = varval();;
+	int32 x = varval();
 	if ((x < 0) || (x > 4))
 		x = 0;
 

Modified: scummvm/trunk/engines/kyra/gui_lol.h
===================================================================
--- scummvm/trunk/engines/kyra/gui_lol.h	2009-12-01 15:52:42 UTC (rev 46231)
+++ scummvm/trunk/engines/kyra/gui_lol.h	2009-12-01 19:19:58 UTC (rev 46232)
@@ -68,7 +68,7 @@
 		item.y = c; \
 		item.width = d; \
 		item.height = e; \
-		item.textColor =  _vm->gameFlags().use16ColorMode ? 0xc1 : 204;; \
+		item.textColor =  _vm->gameFlags().use16ColorMode ? 0xc1 : 204; \
 		item.highlightColor = _vm->gameFlags().use16ColorMode ? 0xe1 : 254; \
 		item.titleX = -1; \
 		if (_vm->gameFlags().use16ColorMode) { \

Modified: scummvm/trunk/engines/sci/gui/gui_gfx.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_gfx.cpp	2009-12-01 15:52:42 UTC (rev 46231)
+++ scummvm/trunk/engines/sci/gui/gui_gfx.cpp	2009-12-01 19:19:58 UTC (rev 46232)
@@ -290,7 +290,7 @@
 	byte *memoryPtr = NULL;
 
 	if (!memoryHandle.isNull()) {
-		memoryPtr = kmem(_segMan, memoryHandle);;
+		memoryPtr = kmem(_segMan, memoryHandle);
 
 		if (memoryPtr) {
 			_screen->bitsGetRect(memoryPtr, destRect);
@@ -302,7 +302,7 @@
 	byte *memoryPtr = NULL;
 
 	if (!memoryHandle.isNull()) {
-		memoryPtr = kmem(_segMan, memoryHandle);;
+		memoryPtr = kmem(_segMan, memoryHandle);
 
 		if (memoryPtr) {
 			_screen->bitsRestore(memoryPtr);

Modified: scummvm/trunk/engines/sci/gui/gui_palette.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_palette.cpp	2009-12-01 15:52:42 UTC (rev 46231)
+++ scummvm/trunk/engines/sci/gui/gui_palette.cpp	2009-12-01 19:19:58 UTC (rev 46232)
@@ -230,7 +230,7 @@
 			pTo->colors[res & 0xFF].used |= 0x10;
 		}
 	}
-	pTo->timestamp = g_system->getMillis() * 60 / 1000;;
+	pTo->timestamp = g_system->getMillis() * 60 / 1000;
 }
 
 uint16 SciGuiPalette::matchColor(GuiPalette *pPal, byte r, byte g, byte b) {
@@ -292,7 +292,7 @@
 void SciGuiPalette::animate(byte fromColor, byte toColor, int speed) {
 	GuiColor col;
 	int len = toColor - fromColor - 1;
-	uint32 now = g_system->getMillis() * 60 / 1000;;
+	uint32 now = g_system->getMillis() * 60 / 1000;
 
 	// search for sheduled animations with the same 'from' value
 	int sz = _schedules.size();


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