mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 06:30:37 +00:00
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
Block a user