* cd_sdl.c (get_cddev_arg): fix stupid typo in uppercasing.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@287 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-08-23 15:55:54 +00:00
parent 201ae03fdb
commit 339fd92605

View file

@ -472,7 +472,7 @@ static const char *get_cddev_arg (const char *arg)
else if (*arg >= 'a' && *arg <= 'z') else if (*arg >= 'a' && *arg <= 'z')
{ {
/* make it uppercase for SDL */ /* make it uppercase for SDL */
drive[0] = *arg | ('a' - 'A'); drive[0] = *arg - ('a' - 'A');
drive[1] = ':'; drive[1] = ':';
drive[2] = '\\'; drive[2] = '\\';
drive[3] = '\0'; drive[3] = '\0';