mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 01:41:10 +00:00
Separate "" and nil.
It turns out this is required for compatibility with qcc (and C, really). Once string to boolean conversions are sorted out completely (not that simple as qcc is inconsistent with if (string) vs if (!string)), Qgets can be implemented :)
This commit is contained in:
parent
99a8e8f228
commit
77337e2402
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ strpool_addstr (strpool_t *strpool, const char *str)
|
|||
intptr_t s;
|
||||
int len;
|
||||
|
||||
if (!str || !*str)
|
||||
if (!str)
|
||||
return 0;
|
||||
s = (intptr_t) Hash_Find (strpool->str_tab, str);
|
||||
if (s)
|
||||
|
|
Loading…
Reference in a new issue