Be more verbose about 'error 101' - when using the server browser on machines with unroutable ipv6.
Fix some issues reported by xaGe including a serious linux one. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5225 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
986131b191
commit
cfa28262b4
6 changed files with 30 additions and 15 deletions
|
@ -49,7 +49,7 @@ byte *StringToRGB(const char *str)
|
|||
int i;
|
||||
for (i = 0; i < 4; i++)
|
||||
{
|
||||
while(*str <= ' ')
|
||||
while(*str && *str <= ' ')
|
||||
str++;
|
||||
if (!*str)
|
||||
rgba[i] = 255;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue