comparison common/util.c @ 1376:fdef94da2d70

(issue176) Compare installation and registry path case insensitive.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 04 Dec 2014 14:32:16 +0100
parents b90df38bb6dc
children 05c62ad0c74f
comparison
equal deleted inserted replaced
1375:341f79090de2 1376:fdef94da2d70
190 { 190 {
191 PRINTLASTERROR ("Failed to get Full Path name."); 191 PRINTLASTERROR ("Failed to get Full Path name.");
192 goto done; 192 goto done;
193 } 193 }
194 194
195 ret = wcscmp (buf1, buf2) == 0; 195 ret = _wcsicmp (buf1, buf2) == 0;
196 done: 196 done:
197 xfree (wpath1); 197 xfree (wpath1);
198 xfree (wpath2); 198 xfree (wpath2);
199 199
200 return ret; 200 return ret;

http://wald.intevation.org/projects/trustbridge/