Initialize 'str' in ICONTITLE_GetTitlePos.
This commit is contained in:
parent
32936f0e48
commit
c4fac7867e
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue