changeset 7510 | 95e12eac1b6d |
parent 7318 | 632cd0497770 |
child 8113 | 31b7784db761 |
--- a/src/string.h Fri Aug 31 20:03:50 2007 +0000 +++ b/src/string.h Fri Aug 31 20:50:18 2007 +0000 @@ -49,7 +49,7 @@ void strtolower(char *str); -static inline bool StrEmpty(const char *s) { return s[0] == '\0'; } +static inline bool StrEmpty(const char *s) { return s == NULL || s[0] == '\0'; } /** Get the length of a string, within a limited buffer */