[Scummvm-git-logs] scummvm master -> 7ec2d4bf2dd6f47deaacda101cad8acef4014016

bluegr noreply at scummvm.org
Sun Jul 19 02:10:45 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:
7ec2d4bf2d NANCY: NANCY10: Better text handling in the CVTX chunk


Commit: 7ec2d4bf2dd6f47deaacda101cad8acef4014016
    https://github.com/scummvm/scummvm/commit/7ec2d4bf2dd6f47deaacda101cad8acef4014016
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2026-07-19T05:09:30+03:00

Commit Message:
NANCY: NANCY10: Better text handling in the CVTX chunk

Another part of the fixes needed for #16986

Changed paths:
    engines/nancy/enginedata.cpp


diff --git a/engines/nancy/enginedata.cpp b/engines/nancy/enginedata.cpp
index fbaa910805d..da61b27a392 100644
--- a/engines/nancy/enginedata.cpp
+++ b/engines/nancy/enginedata.cpp
@@ -833,7 +833,11 @@ CVTX::CVTX(Common::SeekableReadStream *chunkStream) : EngineData(chunkStream) {
 		if (buf) {
 			chunkStream->read(buf, stringSize);
 			buf[stringSize] = '\0';
-			texts.setVal(keyName, buf);
+
+			// Text is stored as null-separated bits that must be concatenated
+			Common::String assembled;
+			assembleTextLine(buf, assembled, stringSize);
+			texts.setVal(keyName, assembled);
 		} else {
 			texts.setVal(keyName, Common::String());
 		}




More information about the Scummvm-git-logs mailing list