mirror of
git://source.winehq.org/git/wine.git
synced 2024-08-31 11:54:06 +00:00
Removed warning "SetWindowText(0, ...)" when opening new windows.
This commit is contained in:
parent
fe7d46a221
commit
4ff0a69b65
|
@ -2344,7 +2344,10 @@ static void set_curdir(ChildWnd* child, Entry* entry)
|
|||
|
||||
get_path(entry, path);
|
||||
lstrcpy(child->path, path);
|
||||
SetWindowText(child->hwnd, path);
|
||||
|
||||
if (child->hwnd) /* only change window title, if the window already exists */
|
||||
SetWindowText(child->hwnd, path);
|
||||
|
||||
SetCurrentDirectory(path);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue