diff options
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index 44d2f95743..c66ce614ff 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -429,7 +429,7 @@ get_special_folder(int n, WCHAR *buf, size_t len) typedef BOOL (*get_path_func)(LPITEMIDLIST, WCHAR*, DWORD, int); static get_path_func func = (get_path_func)-1; - if (func = (get_path_func)-1) { + if (func == (get_path_func)-1) { func = (get_path_func) get_proc_address("shell32", "SHGetPathFromIDListEx", NULL); } |