winecfg: Use already existing letter_to_index().
This commit is contained in:
parent
da512ca655
commit
ad4d9e7387
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue