Commit 7ac39aa4 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Use a simpler expression for the "RichEdit20W" string to workaround

compiler bug.
parent 94bc167a
......@@ -506,7 +506,9 @@ msi_richedit_stream_in( DWORD_PTR arg, LPBYTE buffer, LONG count, LONG *pcb )
static UINT msi_dialog_scrolltext_control( msi_dialog *dialog, MSIRECORD *rec )
{
const LPCWSTR szRichEdit = RICHEDIT_CLASS20W;
const static WCHAR szRichEdit20W[] = {
'R','i','c','h','E','d','i','t','2','0','W',0
};
struct msi_streamin_info info;
msi_control *control;
LPCWSTR text;
......@@ -514,7 +516,7 @@ static UINT msi_dialog_scrolltext_control( msi_dialog *dialog, MSIRECORD *rec )
DWORD style;
style = WS_BORDER | ES_MULTILINE | WS_VSCROLL | ES_READONLY | ES_AUTOVSCROLL;
control = msi_dialog_add_control( dialog, rec, szRichEdit, style );
control = msi_dialog_add_control( dialog, rec, szRichEdit20W, style );
text = MSI_RecordGetString( rec, 10 );
info.string = strdupWtoA( text );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment