summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-02-18 12:39:15 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-02-18 12:39:15 -0800
commit5706329cf42db714582fa698eb9f408350276f16 (patch)
tree0e4fe012be66456186b868db852a9112d208a74a
parentd970998b0d489774ad1c5b94b47d233912f00214 (diff)
parentf5a7c121dd3abb9763c30115c772fd1fc03caea2 (diff)
downloadframeworks_base-5706329cf42db714582fa698eb9f408350276f16.zip
frameworks_base-5706329cf42db714582fa698eb9f408350276f16.tar.gz
frameworks_base-5706329cf42db714582fa698eb9f408350276f16.tar.bz2
Merge "Change buf size holding integer in ResourceTable"
-rw-r--r--tools/aapt/ResourceTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/aapt/ResourceTable.cpp b/tools/aapt/ResourceTable.cpp
index a389bfb..0b531c2 100644
--- a/tools/aapt/ResourceTable.cpp
+++ b/tools/aapt/ResourceTable.cpp
@@ -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);