[Scummvm-git-logs] scummvm master -> 5a11941c5be00e6ff18351c6aa7eae77d801e7f5
bluegr
noreply at scummvm.org
Sun Oct 26 21:44:53 UTC 2025
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
b87ec2275a JANITORIAL: remove redundant semicolons
5a11941c5b JANITORIAL: add cast to avoid signedness mismatch in comparison
Commit: b87ec2275a39cf8cade6e8c2743091b3d954bff4
https://github.com/scummvm/scummvm/commit/b87ec2275a39cf8cade6e8c2743091b3d954bff4
Author: Michael (michael_kuerbis at web.de)
Date: 2025-10-26T23:44:50+02:00
Commit Message:
JANITORIAL: remove redundant semicolons
Changed paths:
engines/tot/util.h
diff --git a/engines/tot/util.h b/engines/tot/util.h
index a2a2c86332d..70f3f81987b 100644
--- a/engines/tot/util.h
+++ b/engines/tot/util.h
@@ -82,11 +82,11 @@ void clearScreenLayer(uint pos);
inline bool isLanguageSpanish() {
return g_engine->_lang == Common::ES_ESP;
-};
+}
inline bool isDemo() {
return g_engine->_gameDescription->flags & ADGF_DEMO;
-};
+}
} // End of namespace Tot
Commit: 5a11941c5be00e6ff18351c6aa7eae77d801e7f5
https://github.com/scummvm/scummvm/commit/5a11941c5be00e6ff18351c6aa7eae77d801e7f5
Author: Michael (michael_kuerbis at web.de)
Date: 2025-10-26T23:44:50+02:00
Commit Message:
JANITORIAL: add cast to avoid signedness mismatch in comparison
Changed paths:
engines/tot/engine.cpp
diff --git a/engines/tot/engine.cpp b/engines/tot/engine.cpp
index 1cdfda5cec8..4fb58a97752 100644
--- a/engines/tot/engine.cpp
+++ b/engines/tot/engine.cpp
@@ -3967,7 +3967,7 @@ void TotEngine::sayLine(
charCounter -= 1;
} while (text.text[charCounter] != ' ');
lineBreaks[lineBreakCount] = charCounter + 1;
- } while (charCounter + 1 <= ((int)text.text.size() - (int)width));
+ } while (((int)charCounter + 1) <= ((int)text.text.size() - (int)width));
lineBreakCount += 1;
lineBreaks[lineBreakCount] = text.text.size();
More information about the Scummvm-git-logs
mailing list