ruby-changes:43192
From: usa <ko1@a...>
Date: Fri, 3 Jun 2016 17:52:09 +0900 (JST)
Subject: [ruby-changes:43192] usa:r55266 (trunk): * win32/win32.c (get_special_folder): typo.
usa 2016-06-03 17:52:03 +0900 (Fri, 03 Jun 2016) New Revision: 55266 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55266 Log: * win32/win32.c (get_special_folder): typo. Modified files: trunk/win32/win32.c Index: win32/win32.c =================================================================== --- win32/win32.c (revision 55265) +++ win32/win32.c (revision 55266) @@ -429,7 +429,7 @@ get_special_folder(int n, WCHAR *buf, si https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L429 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); } -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/