From: Robert Greenwalt Date: Thu, 3 Sep 2009 01:23:57 +0000 (-0700) Subject: Fix compilation of add-resource tag. X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/706a572fbf6d24af88c9f8829653e76b84a49ea3 Fix compilation of add-resource tag. It used the wrong tag-type to find the end of itself. --- diff --git a/ResourceTable.cpp b/ResourceTable.cpp index f9d2434..3cf6a71 100644 --- a/ResourceTable.cpp +++ b/ResourceTable.cpp @@ -984,7 +984,7 @@ status_t compileResourceFile(Bundle* bundle, while ((code=block.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) { if (code == ResXMLTree::END_TAG) { - if (strcmp16(block.getElementName(&len), private_symbols16.string()) == 0) { + if (strcmp16(block.getElementName(&len), add_resource16.string()) == 0) { break; } }