mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
spell the copyright sign in the version resource as an escape
The one byte in ja2.rc above ASCII is the 0xA9 in "Copyright (c) 1998", written raw. What it means depends on the codepage the resource compiler happens to run under, and llvm-rc will not guess: "Non-ASCII 8-bit codepoint can't be interpreted in the current codepage". An escape in a wide string says it outright. The escape alone is not enough -- a byte above 127 cannot appear in a narrow resource string either -- but the value block is stored as wide characters regardless, so the L costs nothing. rc.exe produces a byte-identical ja2.rc.res before and after.
This commit is contained in:
committed by
majcosta
parent
2c6202334e
commit
0fd48acf5d
+1
-1
@@ -73,7 +73,7 @@ BEGIN
|
||||
VALUE "FileDescription", "Jagged Alliance 2 Gold"
|
||||
VALUE "FileVersion", "1, 0, 0, 6"
|
||||
VALUE "InternalName", "Jagged Alliance 2"
|
||||
VALUE "LegalCopyright", "Copyright © 1998"
|
||||
VALUE "LegalCopyright", L"Copyright \251 1998"
|
||||
VALUE "OriginalFilename", "Ja2.exe"
|
||||
VALUE "ProductName", "Jagged Alliance 2 Gold"
|
||||
VALUE "ProductVersion", "1, 0, 0, 6"
|
||||
|
||||
Reference in New Issue
Block a user