mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-26 06:25:16 +00:00
possibly fix major issue with NFD
This commit is contained in:
parent
936a95c112
commit
5f92a6ffa6
1 changed files with 1 additions and 1 deletions
2
extern/nfd-modified/src/nfd_win.cpp
vendored
2
extern/nfd-modified/src/nfd_win.cpp
vendored
|
@ -368,7 +368,7 @@ static nfdresult_t AllocPathSet( IShellItemArray *shellItems, nfdpathset_t *path
|
|||
|
||||
static nfdresult_t SetDefaultPath( IFileDialog *dialog, const char *defaultPath )
|
||||
{
|
||||
if ( !defaultPath || strlen(defaultPath) == 0 )
|
||||
if ( !defaultPath || strlen(defaultPath) == 0 || strcmp(defaultPath,"\\")==0 )
|
||||
return NFD_OKAY;
|
||||
|
||||
wchar_t *defaultPathW = {0};
|
||||
|
|
Loading…
Reference in a new issue