Module: wine Branch: master Commit: 25ff59d7a93d431d3e60ec2116b1ef2f139d424b URL: https://source.winehq.org/git/wine.git/?a=commit;h=25ff59d7a93d431d3e60ec211...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Mar 22 13:05:48 2019 +0100
ntdll: Default to 7-bit ASCII before codepages are initialized.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/ntdll/rtlstr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/rtlstr.c b/dlls/ntdll/rtlstr.c index 190bc01..e834ad2 100644 --- a/dlls/ntdll/rtlstr.c +++ b/dlls/ntdll/rtlstr.c @@ -44,8 +44,10 @@ UINT NlsAnsiCodePage = 0; BYTE NlsMbCodePageTag = 0; BYTE NlsMbOemCodePageTag = 0;
-static const union cptable *ansi_table; -static const union cptable *oem_table; +extern const union cptable cptable_20127; /* 7-bit ASCII */ + +static const union cptable *ansi_table = &cptable_20127; +static const union cptable *oem_table = &cptable_20127; static const union cptable* unix_table; /* NULL if UTF8 */