From b30bbc38fcb0a47f72d683bcc7037194faf57f3b Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 3 Jun 2016 08:52:03 +0000 Subject: * win32/win32.c (get_special_folder): typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32/win32.c') 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); } -- cgit v1.2.3