- cleanup of Windows's I_OpenShell* functions
* do not use deprecated library features (wstring_convert was deorecated in C++17) - instead use the existing WideString utility. * do proper calculation of the current directory's path length. * remove the mostly redundant I_OpenShellFile function and instead use ExtractFilePath to get the config's path.
This commit is contained in:
parent
64824430fa
commit
c5f4967871
6 changed files with 11 additions and 73 deletions
|
|
@ -316,7 +316,7 @@ UNSAFE_CCMD (writeini)
|
|||
CCMD(openconfig)
|
||||
{
|
||||
M_SaveDefaults(nullptr);
|
||||
I_OpenShellFile(GameConfig->GetPathName());
|
||||
I_OpenShellFolder(ExtractFilePath(GameConfig->GetPathName()));
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue