1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* win32/win32.c (get_special_folder): typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2016-06-03 08:52:03 +00:00
parent 15dba481a2
commit b30bbc38fc

View file

@ -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);
}