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:
parent
15dba481a2
commit
b30bbc38fc
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue