X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/65e6371ed104cb80ea8a0cee0f31c07362bc1fff..9f1b920f0ba1eac153da266ec8c6f564f56df591:/ResourceTable.cpp?ds=inline diff --git a/ResourceTable.cpp b/ResourceTable.cpp index a389bfb..0b531c2 100644 --- a/ResourceTable.cpp +++ b/ResourceTable.cpp @@ -382,7 +382,7 @@ static status_t compileAttribute(const sp& 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);