Commit 674e2cfd authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

riched20: Fix an (incorrect) compiler warning.

parent eb773e0d
...@@ -318,7 +318,7 @@ static void draw_text( ME_Context *c, ME_Run *run, int x, int y, BOOL selected, ...@@ -318,7 +318,7 @@ static void draw_text( ME_Context *c, ME_Run *run, int x, int y, BOOL selected,
{ {
COLORREF text_color = get_text_color( c, run->style, selected ); COLORREF text_color = get_text_color( c, run->style, selected );
COLORREF back_color = selected ? ITextHost_TxGetSysColor( c->editor->texthost, COLOR_HIGHLIGHT ) : 0; COLORREF back_color = selected ? ITextHost_TxGetSysColor( c->editor->texthost, COLOR_HIGHLIGHT ) : 0;
COLORREF old_text, old_back; COLORREF old_text, old_back = 0;
const WCHAR *text = get_text( run, 0 ); const WCHAR *text = get_text( run, 0 );
ME_String *masked = NULL; ME_String *masked = NULL;
......
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