Fix file selector issues with Windows build.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2571
This commit is contained in:
parent
3ac144025a
commit
fdd021c565
1 changed files with 3 additions and 4 deletions
|
|
@ -149,8 +149,8 @@ static char *ExecReadOutput(char **argv)
|
|||
#include <shlobj.h>
|
||||
|
||||
static BOOL WINAPI (*MyGetOpenFileName)(LPOPENFILENAME) = NULL;
|
||||
static PIDLIST_ABSOLUTE (*MySHBrowseForFolder)(LPBROWSEINFO) = NULL;
|
||||
static BOOL (*MySHGetPathFromIDList)(PCIDLIST_ABSOLUTE, LPTSTR) = NULL;
|
||||
static LPITEMIDLIST (*MySHBrowseForFolder)(LPBROWSEINFO) = NULL;
|
||||
static BOOL (*MySHGetPathFromIDList)(LPITEMIDLIST, LPTSTR) = NULL;
|
||||
|
||||
// Load library functions from DLL files.
|
||||
|
||||
|
|
@ -176,7 +176,7 @@ static int LoadDLLs(void)
|
|||
&& MySHGetPathFromIDList != NULL;
|
||||
}
|
||||
|
||||
static InitLibraries(void)
|
||||
static int InitLibraries(void)
|
||||
{
|
||||
static int initted = 0, success = 0;
|
||||
|
||||
|
|
@ -233,7 +233,6 @@ static char *SelectDirectory(char *window_title)
|
|||
{
|
||||
LPITEMIDLIST pidl;
|
||||
BROWSEINFO bi;
|
||||
LPMALLOC allocator;
|
||||
char selected[MAX_PATH] = "";
|
||||
char *result;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue