From 5ca99a812e94c5943fc8971825b825f1f9bc6820 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Sat, 3 May 2014 15:39:22 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/config.c b/polymer/eduke32/build/src/config.c index c8342a502..cd30cd43e 100644 --- a/polymer/eduke32/build/src/config.c +++ b/polymer/eduke32/build/src/config.c @@ -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;