summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-03 08:52:03 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-03 08:52:03 +0000
commitb30bbc38fcb0a47f72d683bcc7037194faf57f3b (patch)
tree0d3b2e60bbad2faa84a5c910e7da83582f0b425d /win32
parent15dba481a28164aea17dc59f4026e0c1bb733772 (diff)
* win32/win32.c (get_special_folder): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
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);
}