msi: Fix ASCII / ANSI mixups in comments.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-08-25 15:36:39 +02:00 committed by Alexandre Julliard
parent ab9ba9968f
commit 45fb4ac4e2
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 );