diff --git a/polymer/eduke32/build/src/config.c b/polymer/eduke32/build/src/config.c index b3be46e87..951d05efc 100644 --- a/polymer/eduke32/build/src/config.c +++ b/polymer/eduke32/build/src/config.c @@ -268,11 +268,13 @@ int32_t loadsetup(const char *fn) while (*p) { if (!sscanf(p,"%x",&v1))break; - if ((p=strchr(p,'-'))==0)break; p++; + if ((p=strchr(p,'-'))==0)break; + p++; if (!sscanf(p,"%x",&v2))break; keyremap[v1]=v2; initprintf("Remap %X key to %X\n",v1,v2); - if ((p=strchr(p,','))==0)break; p++; + if ((p=strchr(p,','))==0)break; + p++; } }