[Scummvm-git-logs] scummvm master -> 750cce38bc2055720ae628350e230157cdb5a015
sev-
noreply at scummvm.org
Wed Mar 25 17:41:09 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:
750cce38bc COMMON: Fix copy/paste error in po_parser
Commit: 750cce38bc2055720ae628350e230157cdb5a015
https://github.com/scummvm/scummvm/commit/750cce38bc2055720ae628350e230157cdb5a015
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-03-25T18:40:58+01:00
Commit Message:
COMMON: Fix copy/paste error in po_parser
Changed paths:
common/formats/po_parser.h
diff --git a/common/formats/po_parser.h b/common/formats/po_parser.h
index 4e737473251..11459c2f25f 100644
--- a/common/formats/po_parser.h
+++ b/common/formats/po_parser.h
@@ -62,12 +62,12 @@ struct PlainPoMessageEntry {
Common::strlcpy(msgstr, translation, len);
}
if (message != NULL && *message != '\0') {
- size_t len = 1 + strlen(translation);
+ size_t len = 1 + strlen(message);
msgid = new char[len];
Common::strlcpy(msgid, message, len);
}
if (context != NULL && *context != '\0') {
- size_t len = 1 + strlen(translation);
+ size_t len = 1 + strlen(context);
msgctxt = new char[len];
Common::strlcpy(msgctxt, context, len);
}
More information about the Scummvm-git-logs
mailing list