Initialize 'str' in ICONTITLE_GetTitlePos.

This commit is contained in:
Marcus Meissner 2000-08-07 23:51:02 +00:00 committed by Alexandre Julliard
parent 32936f0e48
commit c4fac7867e
1 changed files with 1 additions and 1 deletions

View File

@ -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 )