[PATCH] msi: Fix ASCII / ANSI mixups in comments.
Francois Gouget
fgouget at free.fr
Wed Aug 25 08:36:39 CDT 2021
Signed-off-by: Francois Gouget <fgouget at free.fr>
---
dlls/msi/msipriv.h | 2 +-
dlls/msi/package.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/msipriv.h b/dlls/msi/msipriv.h
index 950a18d0e74..a039a5af4c7 100644
--- a/dlls/msi/msipriv.h
+++ b/dlls/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/dlls/msi/package.c b/dlls/msi/package.c
index bf93f3e9afe..23e938f1759 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -1806,7 +1806,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 );
--
2.20.1
More information about the wine-devel
mailing list