Satisfy warning: this 'if' clause does not guard... [-Wmisleading-indentation]

DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@5843 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-08-28 21:26:55 +00:00
parent 78f939a2f9
commit 599e58bfef

View file

@ -268,11 +268,13 @@ int32_t loadsetup(const char *fn)
while (*p) while (*p)
{ {
if (!sscanf(p,"%x",&v1))break; 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; if (!sscanf(p,"%x",&v2))break;
keyremap[v1]=v2; keyremap[v1]=v2;
initprintf("Remap %X key to %X\n",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++;
} }
} }