mirror of
https://github.com/reactos/wine.git
synced 2025-02-09 21:55:12 +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…
x
Reference in New Issue
Block a user