* cd_sdl.c (get_cddev_arg): check for null or empty arguments also

for non-windows platforms.


git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@286 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
Ozkan Sezer 2010-08-23 14:32:34 +00:00
parent 27fc06b792
commit c6627995cc
1 changed files with 2 additions and 0 deletions

View File

@ -480,6 +480,8 @@ static const char *get_cddev_arg (const char *arg)
}
return NULL;
#else
if (!arg || ! *arg)
return NULL;
return arg;
#endif
}