]> git.saurik.com Git - android/aapt.git/commitdiff
am e67f8c8c: Merge "Normalize output from aapt d xmltree"
authorJean-Baptiste Queru <jbq@google.com>
Wed, 8 Aug 2012 19:01:35 +0000 (12:01 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Wed, 8 Aug 2012 19:01:35 +0000 (12:01 -0700)
* commit 'e67f8c8c279e20fff5f426eccd062b709e6280ed':
  Normalize output from aapt d xmltree

XMLNode.cpp

index 0dba9503f4f0d981cb2f066d197c0ef14130148d..dcbe7db7c54cbf3d23a2b5844edc49e73fc1079e 100644 (file)
@@ -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());
         }
     }