Commit ad4d9e73 authored by Neil Skrypuch's avatar Neil Skrypuch Committed by Alexandre Julliard

winecfg: Use already existing letter_to_index().

parent da512ca6
......@@ -73,7 +73,7 @@ long drive_available_mask(char letter)
for(i = 0; i < 26; i++)
{
if (!drives[i].in_use) continue;
result |= (1 << (toupper(drives[i].letter) - 'A'));
result |= (1 << (letter_to_index(drives[i].letter)));
}
result = ~result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment