diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-03 08:52:03 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-03 08:52:03 +0000 |
commit | b30bbc38fcb0a47f72d683bcc7037194faf57f3b (patch) | |
tree | 0d3b2e60bbad2faa84a5c910e7da83582f0b425d | |
parent | 15dba481a28164aea17dc59f4026e0c1bb733772 (diff) | |
download | ruby-b30bbc38fcb0a47f72d683bcc7037194faf57f3b.tar.gz |
* win32/win32.c (get_special_folder): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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); } |