mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
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:
parent
78f939a2f9
commit
599e58bfef
1 changed files with 4 additions and 2 deletions
|
@ -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++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue