[Scummvm-git-logs] scummvm master -> 911621c8032e2c8ebbdc9719352d7d6ada433db7

bluegr noreply at scummvm.org
Tue Aug 6 14:33:31 UTC 2024


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
911621c803 GOB: JANITORIAL: Fix typos


Commit: 911621c8032e2c8ebbdc9719352d7d6ada433db7
    https://github.com/scummvm/scummvm/commit/911621c8032e2c8ebbdc9719352d7d6ada433db7
Author: Benjamin Funke (58399929+BJNFNE at users.noreply.github.com)
Date: 2024-08-06T17:33:27+03:00

Commit Message:
GOB: JANITORIAL: Fix typos

Changed paths:
    engines/gob/dataio.cpp
    engines/gob/inter_fascin.cpp
    engines/gob/inter_v5.cpp
    engines/gob/scenery.cpp


diff --git a/engines/gob/dataio.cpp b/engines/gob/dataio.cpp
index f0a5cf486cc..deb9cc370fd 100644
--- a/engines/gob/dataio.cpp
+++ b/engines/gob/dataio.cpp
@@ -245,7 +245,7 @@ bool DataIO::openArchive(Common::String name, bool base) {
 	return true;
 }
 
-// A copy of replaceChar utlity function from util.cpp
+// A copy of replaceChar utility function from util.cpp
 static void replaceChar(char *str, char c1, char c2) {
 	while ((str = strchr(str, c1)))
 		*str = c2;
diff --git a/engines/gob/inter_fascin.cpp b/engines/gob/inter_fascin.cpp
index a9238588a96..f141df62cf1 100644
--- a/engines/gob/inter_fascin.cpp
+++ b/engines/gob/inter_fascin.cpp
@@ -136,11 +136,11 @@ void Inter_Fascination::oFascin_repeatUntil(OpFuncParams &params) {
 
 		// WORKAROUND: The script of the PC version of Fascination, when the protection check
 		// fails, writes on purpose everywhere in the memory in order to hang the computer.
-		// This results in a crash in Scummvm. This workaround avoids that crash.
+		// This results in a crash in ScummVM. This workaround avoids that crash.
 		if (_vm->getPlatform() == Common::kPlatformDOS) {
 			if (((blockPos == 3533) && _vm->isCurrentTot("INTRO1.TOT")) ||
 			    ((blockPos == 3519) && _vm->isCurrentTot("INTRO2.TOT")) ||
-			    ((blockPos == 3265) && _vm->isCurrentTot("INTRO2.TOT")))  //PC Hebrew
+			    ((blockPos == 3265) && _vm->isCurrentTot("INTRO2.TOT")))  // PC Hebrew
 				_terminate = 1;
 		}
 	} while (!flag && !_break && !_terminate && !_vm->shouldQuit());
diff --git a/engines/gob/inter_v5.cpp b/engines/gob/inter_v5.cpp
index 1ec72eabe1c..81fccc01fcf 100644
--- a/engines/gob/inter_v5.cpp
+++ b/engines/gob/inter_v5.cpp
@@ -268,7 +268,7 @@ void Inter_v5::o5_spaceShooter(OpGobParams &params) {
 	_vm->_game->_script->readInt16();
 
 	if (params.extraData != 0) {
-		// we need to return 1 for the shooter mission 34. There is only one planet to choose from in the map.
+		// We need to return 1 for the shooter mission 34. There is only one planet to choose from in the map.
 		WRITE_VARO_UINT32(var1,(params.extraData == 34) ? 1 : 2);
 		WRITE_VARO_UINT32(var2,0);
 	} else {
diff --git a/engines/gob/scenery.cpp b/engines/gob/scenery.cpp
index 695e8254544..8866a1e48db 100644
--- a/engines/gob/scenery.cpp
+++ b/engines/gob/scenery.cpp
@@ -1023,7 +1023,7 @@ void Scenery::updateAnimObjectVideo(int16 layer, int16 frame, int16 animation, i
 // flags & 1 - do capture all area animation is occupying
 // flags & 4 == 0 - calculate animation final size
 // flags & 2 != 0 - don't check with "toRedraw"'s
-// flags & 4 != 0 - checkk view toRedraw
+// flags & 4 != 0 - check view toRedraw
 void Scenery::updateAnim(int16 layer, int16 frame, int16 animation, int16 flags,
 	    int16 drawDeltaX, int16 drawDeltaY, char doDraw) {
 	AnimLayer *layerPtr;




More information about the Scummvm-git-logs mailing list