[WINESYNC] msi: Fix ASCII / ANSI mixups in comments.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id 45fb4ac4e2f94486e36d6d271c08b59feee4d12e by Francois Gouget <fgouget@free.fr>
This commit is contained in:
winesync 2022-03-13 23:53:14 +01:00 committed by Mark Jansen
parent 0a1c22503d
commit 026a2db614
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
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

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