[Scummvm-git-logs] scummvm master -> 98d662d337f0b1a87c8f4ebe69f0fd55f8a3b754

lephilousophe noreply at scummvm.org
Sun Apr 12 16:27:37 UTC 2026


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:
98d662d337 IOS7: Fix build


Commit: 98d662d337f0b1a87c8f4ebe69f0fd55f8a3b754
    https://github.com/scummvm/scummvm/commit/98d662d337f0b1a87c8f4ebe69f0fd55f8a3b754
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2026-04-12T18:25:40+02:00

Commit Message:
IOS7: Fix build

Changed paths:
    backends/platform/ios7/ios7_osys_misc.mm


diff --git a/backends/platform/ios7/ios7_osys_misc.mm b/backends/platform/ios7/ios7_osys_misc.mm
index 5feb7e553f6..5c5accb314d 100644
--- a/backends/platform/ios7/ios7_osys_misc.mm
+++ b/backends/platform/ios7/ios7_osys_misc.mm
@@ -143,16 +143,13 @@ Common::U32String OSystem_iOS7::getTextFromClipboard() {
 	if (str == nil)
 		return Common::U32String();
 
-	// If translations are supported, use the current TranslationManager charset and otherwise
-	// use ASCII. If the string cannot be represented using the requested encoding we get a null
-	// pointer below, which is fine as ScummVM would not know what to do with the string anyway.
 #ifdef SCUMM_LITTLE_ENDIAN
 	NSStringEncoding stringEncoding = NSUTF32LittleEndianStringEncoding;
 #else
 	NSStringEncoding stringEncoding = NSUTF32BigEndianStringEncoding;
 #endif
 	NSUInteger textLength = [str length];
-	uint32 *text = new uint32[textLength];
+	Common::u32char_type_t *text = new Common::u32char_type_t[textLength];
 
 	if (![str getBytes:text maxLength:4*textLength usedLength:NULL encoding: stringEncoding options:0 range:NSMakeRange(0, textLength) remainingRange:NULL]) {
 		delete[] text;




More information about the Scummvm-git-logs mailing list