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

digitall noreply at scummvm.org
Sun Nov 16 15:53:10 UTC 2025


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

Summary:
bb0ef9f8c4 SCI: Fix Unintended Fallthrough GCC Compiler Warning


Commit: bb0ef9f8c49a235b8bfc806a575d39a858f4e65a
    https://github.com/scummvm/scummvm/commit/bb0ef9f8c49a235b8bfc806a575d39a858f4e65a
Author: D G Turner (digitall at scummvm.org)
Date: 2025-11-16T15:52:19Z

Commit Message:
SCI: Fix Unintended Fallthrough GCC Compiler Warning

Changed paths:
    engines/sci/graphics/text16.cpp


diff --git a/engines/sci/graphics/text16.cpp b/engines/sci/graphics/text16.cpp
index 515e4562256..9e5647f3d6e 100644
--- a/engines/sci/graphics/text16.cpp
+++ b/engines/sci/graphics/text16.cpp
@@ -242,7 +242,8 @@ int16 GfxText16::GetLongest(const char *&textPtr, int16 maxWidth, GuiResourceId
 			if ((*(const byte *)(textPtr + 1)) == 0xA) {
 				curCharCount++; textPtr++;
 			}
-			// fall through'J'
+			// 'J'
+			// fall through
 		case 0xA:
 		case 0x9781: // this one is used by SQ4/japanese as line break as well (was added for SCI1/PC98)
 			curCharCount++; textPtr++;




More information about the Scummvm-git-logs mailing list