Skip to content

Commit

Permalink
Use SetFolder instead of SetDefaultFolder when directory path is spec…
Browse files Browse the repository at this point in the history
…ified
  • Loading branch information
Hugh Sanderson committed Jan 22, 2024
1 parent 6d6af8e commit 5043394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion project/src/windows/System.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static unsigned __stdcall dialog_proc( void *inSpec )
SHCreateItemFromParsingName(UTF8ToWide(spec->defaultPath).c_str(), 0, IID_IShellItem,(void **)&item);
if (item)
{
dlg->SetDefaultFolder(item);
dlg->SetFolder(item);
item->Release();
}
}
Expand Down

0 comments on commit 5043394

Please sign in to comment.