]> git.saurik.com Git - android/aapt.git/blobdiff - ResourceTable.cpp
Use UTF-8 strings to avoid duplicate caching, part 1
[android/aapt.git] / ResourceTable.cpp
index a389bfb52f61ff78cde2468195032664004f427b..0b531c228ad3b9bc9bfa8f57cf0a634bd97d962b 100644 (file)
@@ -382,7 +382,7 @@ static status_t compileAttribute(const sp<AaptFile>& in,
         }
         attr.createIfNeeded(outTable);
         if (!attr.hasErrors) {
-            char buf[10];
+            char buf[11];
             sprintf(buf, "%d", l10n_required);
             err = outTable->addBag(attr.sourcePos, myPackage, attr16, attr.ident,
                     String16(""), String16("^l10n"), String16(buf), NULL, NULL);