X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/af38c7f785e8cb9a740a9fce16d8ddb3602747fe..232580c6c07e335d756a8c23e80d705fff3b8804:/XMLNode.cpp diff --git a/XMLNode.cpp b/XMLNode.cpp index 8d7acee..dcbe7db 100644 --- a/XMLNode.cpp +++ b/XMLNode.cpp @@ -511,7 +511,8 @@ void printXMLBlock(ResXMLTree* block) namespaces.pop(); } else if (code == ResXMLTree::TEXT) { size_t len; - printf("%sC: \"%s\"\n", prefix.string(), String8(block->getText(&len)).string()); + printf("%sC: \"%s\"\n", prefix.string(), + ResTable::normalizeForOutput(String8(block->getText(&len)).string()).string()); } } @@ -973,7 +974,7 @@ status_t XMLNode::assignResourceIds(const sp& assets, status_t XMLNode::flatten(const sp& dest, bool stripComments, bool stripRawValues) const { - StringPool strings = StringPool(false, mUTF8); + StringPool strings(mUTF8); Vector resids; // First collect just the strings for attribute names that have a