mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
Removed warning "SetWindowText(0, ...)" when opening new windows.
This commit is contained in:
parent
fe7d46a221
commit
4ff0a69b65
1 changed files with 4 additions and 1 deletions
|
@ -2344,7 +2344,10 @@ static void set_curdir(ChildWnd* child, Entry* entry)
|
|||
|
||||
get_path(entry, path);
|
||||
lstrcpy(child->path, 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