[Scummvm-git-logs] scummvm master -> c365f5e92846115457834ffd493a634196ab6b50

joostp noreply at scummvm.org
Fri Aug 5 11:43:05 UTC 2022


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:
c365f5e928 ICB: remove erroneous semicolons


Commit: c365f5e92846115457834ffd493a634196ab6b50
    https://github.com/scummvm/scummvm/commit/c365f5e92846115457834ffd493a634196ab6b50
Author: Joost Peters (joostp at 7fc1.org)
Date: 2022-08-05T13:41:56+02:00

Commit Message:
ICB: remove erroneous semicolons

Changed paths:
    engines/icb/icon_menu_pc.cpp


diff --git a/engines/icb/icon_menu_pc.cpp b/engines/icb/icon_menu_pc.cpp
index 6b440027fb8..d4ed9d709c2 100644
--- a/engines/icb/icon_menu_pc.cpp
+++ b/engines/icb/icon_menu_pc.cpp
@@ -453,7 +453,7 @@ void _icon_menu::SetTransparencyColourKey() {
 
 void _icon_menu::SetupAdding(const char *pcIconName, uint32 &nSurfaceID) {
 	uint32 iconSizeY = ICON_Y_SIZE;
-	if (g_icb->getGameType() == GType_ELDORADO);
+	if (g_icb->getGameType() == GType_ELDORADO)
 		iconSizeY = ICON_Y_SIZE_ED;
 
 	// Get the full pathname for the ammo clips icon.
@@ -618,7 +618,7 @@ void _icon_menu::DrawArmedMenu(const int32 nBullets, const int32 maxBullets, con
 
 void _icon_menu::SetUpOffScreenArrows() {
 	uint32 iconSizeY = ICON_Y_SIZE;
-	if (g_icb->getGameType() == GType_ELDORADO);
+	if (g_icb->getGameType() == GType_ELDORADO)
 		iconSizeY = ICON_Y_SIZE_ED;
 
 	{




More information about the Scummvm-git-logs mailing list