winecfg: Use already existing letter_to_index().

This commit is contained in:
Neil Skrypuch 2006-02-04 16:58:18 +01:00 committed by Alexandre Julliard
parent da512ca655
commit ad4d9e7387
1 changed files with 1 additions and 1 deletions

View File

@ -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;