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