xres: Add missing braces.
Found by Clang's -Wmisleading-indentation.
This commit is contained in:
parent
6570684235
commit
220a7208a3
@ -746,9 +746,10 @@ parse_resource_id(const char *toParse, ResourceID &resourceID,
|
||||
resourceID.id = (negative ? -id : id);
|
||||
|
||||
if (*toParse == '\0') {
|
||||
if (name)
|
||||
if (name) {
|
||||
*name = kDefaultResourceName;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (*toParse != ':')
|
||||
|
Loading…
x
Reference in New Issue
Block a user