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

for non-windows platforms.


git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@286 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-08-23 14:32:34 +00:00
parent 905f6e8ed7
commit 201ae03fdb

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
}