mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-09 01:01:07 +00:00
* 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:
parent
27fc06b792
commit
c6627995cc
1 changed files with 2 additions and 0 deletions
|
@ -480,6 +480,8 @@ static const char *get_cddev_arg (const char *arg)
|
|||
}
|
||||
return NULL;
|
||||
#else
|
||||
if (!arg || ! *arg)
|
||||
return NULL;
|
||||
return arg;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue