win32: show editbox in path config directory browser, so that it is not evil anymore

This commit is contained in:
zeromus 2010-06-30 21:39:07 +00:00
parent 5d3f4e9e22
commit b4d1199518
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ BOOL BrowseForPath(char *pathToBrowse)
bi.hwndOwner = MainWindow->getHWnd();
bi.lpszTitle = "Choose a Folder";
bi.ulFlags = BIF_NONEWFOLDERBUTTON;
bi.ulFlags = BIF_NONEWFOLDERBUTTON | BIF_USENEWUI;
/*wanted to add a callback function for the folder initialization but it crashes everytime i do
bi.lpfn = (BFFCALLBACK)InitialFolder;