src/config.c: fix what is apparently a copy-paste typo in readconfig().

git-svn-id: https://svn.eduke32.com/eduke32@4461 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-05-03 15:39:22 +00:00
parent 1c5da19874
commit 5ca99a812e

View file

@ -50,7 +50,7 @@ static int32_t readconfig(BFILE *fp, const char *key, char *value, uint32_t len)
if (Bstrcasecmp(k, key)) continue;
while (*v == ' ' || *k == '\t') v++;
while (*v == ' ' || *v == '\t') v++;
eq = v + Bstrlen(v)-1;
while ((*eq == ' ' || *eq == '\t' || *eq == '\r' || *eq == '\n') && eq>=v) *(eq--) = 0;