Commit c4fac786 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Initialize 'str' in ICONTITLE_GetTitlePos.

parent 32936f0e
......@@ -65,7 +65,7 @@ HWND ICONTITLE_Create( WND* wnd )
static BOOL ICONTITLE_GetTitlePos( WND* wnd, LPRECT lpRect )
{
static WCHAR emptyTitleText[] = {'<','.','.','.','>',0};
LPWSTR str;
LPWSTR str = NULL;
int length = lstrlenW( wnd->owner->text );
if( length )
......
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