mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 10:12:01 +00:00
view: Also show the filename in the window title when loading it from command line.
This commit is contained in:
parent
e1b8573ee8
commit
189800e04c
@ -386,7 +386,10 @@ static void HandleCommandLine(LPWSTR cmdline)
|
||||
cmdline++;
|
||||
cmdline[lstrlenW(cmdline) - 1] = 0;
|
||||
}
|
||||
szFileTitle[0] = 0;
|
||||
GetFileTitleW(cmdline, szFileTitle, sizeof(szFileTitle));
|
||||
DoOpenFile(cmdline);
|
||||
UpdateWindowCaption();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user