mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 13:34:53 +00:00
[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:
parent
0a1c22503d
commit
026a2db614
|
@ -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 {
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue