https://git.reactos.org/?p=reactos.git;a=commitdiff;h=026a2db6146eab7cb736f…
commit 026a2db6146eab7cb736fe8f9b3ad63300e8fe87
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sun Mar 13 23:53:14 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:39 2022 +0100
[WINESYNC] msi: Fix ASCII / ANSI mixups in comments.
Signed-off-by: Francois Gouget <fgouget(a)free.fr>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 45fb4ac4e2f94486e36d6d271c08b59feee4d12e by Francois Gouget
<fgouget(a)free.fr>
---
dll/win32/msi/msipriv.h | 2 +-
dll/win32/msi/package.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/win32/msi/msipriv.h b/dll/win32/msi/msipriv.h
index ea4bd0a20e3..e3b808db89a 100644
--- a/dll/win32/msi/msipriv.h
+++ b/dll/win32/msi/msipriv.h
@@ -735,7 +735,7 @@ struct tagMSIMIME
#define MSIHANDLE_MAGIC 0x4d434923
-/* handle unicode/ascii output in the Msi* API functions */
+/* handle unicode/ansi output in the Msi* API functions */
typedef struct {
BOOL unicode;
union {
diff --git a/dll/win32/msi/package.c b/dll/win32/msi/package.c
index f1b0d7d8866..7e28e111b7b 100644
--- a/dll/win32/msi/package.c
+++ b/dll/win32/msi/package.c
@@ -1813,7 +1813,7 @@ INT MSI_ProcessMessageVerbatim(MSIPACKAGE *package, INSTALLMESSAGE
eMessageType,
MSI_FormatRecordW(package, record, message, &len);
}
- /* convert it to ASCII */
+ /* convert it to ANSI */
len = WideCharToMultiByte( CP_ACP, 0, message, -1, NULL, 0, NULL, NULL );
msg = msi_alloc( len );
WideCharToMultiByte( CP_ACP, 0, message, -1, msg, len, NULL, NULL );