From ac2c01880e7b61a1c21b660ef8ce9afc3a21e3c6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 19 Jul 2015 17:09:04 +0200 Subject: SHERLOCK: Avoid non-ASCII characters in string constants How such string constants are compiled into code depends on the encoding used for the source file, which easily is changed by accident (e.g. between UTF-8 and Latin-1 encoding). Better to explicitly encode the character codes, as is already done for various other text messages. --- engines/sherlock/scalpel/scalpel_fixed_text.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/sherlock/scalpel/scalpel_fixed_text.cpp b/engines/sherlock/scalpel/scalpel_fixed_text.cpp index 465940ce45..63f84d68c6 100644 --- a/engines/sherlock/scalpel/scalpel_fixed_text.cpp +++ b/engines/sherlock/scalpel/scalpel_fixed_text.cpp @@ -264,7 +264,7 @@ static const char *const fixedTextDE_ActionPick[] = { "Diese Blumen geh\224ren Penny", "Sie ist doch viel zu jung f\201r Dich!", "Ich denke, Du stehst mehr auf M\204dchen ?", - "Staatseigentum - Nur für den Dienstgebrauch !" + "Staatseigentum - Nur f\201r den Dienstgebrauch !" }; static const char *const fixedTextES_ActionPick[] = { @@ -291,8 +291,8 @@ static const char *const fixedTextDE_ActionUse[] = { "Nein, das geht wirklich nicht", "Tja keinerlei Wirkung", "Da kommst du nicht dran", - "Na gut, die Tür sieht jetzt gr\224\341er aus. Zufrieden?", - "Türen sind Nichtraucher!" + "Na gut, die T\201r sieht jetzt gr\224\341er aus. Zufrieden?", + "T\201ren sind Nichtraucher!" }; static const char *const fixedTextES_ActionUse[] = { -- cgit v1.2.3