summaryrefslogtreecommitdiff
path: root/Tools/Java
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-08 07:25:35 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-08 07:25:35 +0000
commita89f26d82d17958a47b2a1aa293fe4cccf5a543b (patch)
tree0e66a5781cdce268b3e8393da156a3fc347d0369 /Tools/Java
parentf0388a0ef15c365a02b439f02cc41214e95de914 (diff)
downloadedk2-platforms-a89f26d82d17958a47b2a1aa293fe4cccf5a543b.tar.xz
When generating string size for unicode string, do not generate too many brace. This will break linux building.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2191 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/Java')
-rw-r--r--Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PcdDatabase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PcdDatabase.java b/Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PcdDatabase.java
index 70adb9a6af..e03317b633 100644
--- a/Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PcdDatabase.java
+++ b/Tools/Java/Source/GenBuild/org/tianocore/build/pcd/action/PcdDatabase.java
@@ -1471,7 +1471,7 @@ public class PcdDatabase {
for (i = 0; i < t.skuData.size(); i++) {
if (t.isUnicodeStringType()) {
- s += tab + tab + String.format("{ %d }", stringTable.add(t.skuData.get(i).value.value, t));
+ s += tab + tab + String.format(" %d ", stringTable.add(t.skuData.get(i).value.value, t));
} else if (t.isHiiEnable()) {
/* VPD_HEAD definition
typedef struct {