fix Find_filename_match()
issue introduced in commit 49b7d101
This commit is contained in:
parent
595348e7ed
commit
ee992c6b5f
@ -1485,7 +1485,7 @@ static short Find_filename_match(const T_Fileselector *list, const word * fname)
|
||||
{
|
||||
for (counter=0; fname[counter] != 0; counter++)
|
||||
{
|
||||
if (tolower(current_item->Full_name[counter] != towlower(fname[counter])))
|
||||
if ((wint_t)tolower(current_item->Full_name[counter]) != towlower(fname[counter]))
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user