AAPT2: Fix typo in Config parsing

The 'any' syntax of a configuration is rarely used so this has not been
an issue in the field.

Test: none
Bug: 65645766
Change-Id: Icb9cb2d5ad061e3ea1c43dc1cd7ca2f222965cdc
Merged-In: Icb9cb2d5ad061e3ea1c43dc1cd7ca2f222965cdc
This commit is contained in:
Adam Lesinski
2017-08-07 10:32:18 -07:00
parent e116ebe0bc
commit cb1e6f95ae

View File

@@ -70,7 +70,7 @@ static bool parseMcc(const char* name, ResTable_config* out) {
static bool parseMnc(const char* name, ResTable_config* out) {
if (strcmp(name, kWildcardName) == 0) {
if (out) out->mcc = 0;
if (out) out->mnc = 0;
return true;
}
const char* c = name;