]> git.saurik.com Git - android/aapt.git/commitdiff
am e6c0e993: Merge change I129483f8 into eclair-mr2
authorKenny Root <kroot@google.com>
Wed, 9 Dec 2009 23:51:21 +0000 (15:51 -0800)
committerAndroid Git Automerger <android-git-automerger@android.com>
Wed, 9 Dec 2009 23:51:21 +0000 (15:51 -0800)
Merge commit 'e6c0e99334bc2f47e5d36db253ac8f166047c03b' into eclair-mr2-plus-aosp

* commit 'e6c0e99334bc2f47e5d36db253ac8f166047c03b':
  Optional use of UTF-8 strings in resource bundles

1  2 
Command.cpp

diff --combined Command.cpp
index 4067735dd165f3022891181176b380a06c9d3c5c,ff9cc1142cd7e09be9173ede30448006c92a30ee..990a7ea6c87d6e7e9586eb3f2aa672338ab58835
@@@ -401,7 -401,7 +401,7 @@@ int doDump(Bundle* bundle
              ResXMLTree tree;
              asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
              if (asset == NULL) {
 -                fprintf(stderr, "ERROR: dump failed because resource %p found\n", resname);
 +                fprintf(stderr, "ERROR: dump failed because resource %s found\n", resname);
                  goto bail;
              }
  
              }
              tree.restart();
              printXMLBlock(&tree);
+             tree.uninit();
              delete asset;
              asset = NULL;
          }
              ResXMLTree tree;
              asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
              if (asset == NULL) {
 -                fprintf(stderr, "ERROR: dump failed because resource %p found\n", resname);
 +                fprintf(stderr, "ERROR: dump failed because resource %s found\n", resname);
                  goto bail;
              }