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:
parent
ab9ba9968f
commit
45fb4ac4e2
|
@ -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 {
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue