X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/2ff799f0c1a9e168c782f52a13d3e1d1dcd54014..e8d920f9f31f6bc817539d87c1a4953e71b86eec:/StringPool.cpp diff --git a/StringPool.cpp b/StringPool.cpp index ec58591..d067d59 100644 --- a/StringPool.cpp +++ b/StringPool.cpp @@ -25,8 +25,12 @@ void printStringPool(const ResStringPool* pool) const size_t NS = pool->size(); for (size_t s=0; sstringAt(s, &len)).string()); + const char *str = (const char*)pool->string8At(s, &len); + if (str == NULL) { + str = String8(pool->stringAt(s, &len)).string(); + } + + printf("String #%zd: %s\n", s, str); } }