mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-07 19:45:07 +02:00
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
This commit is contained in:
parent
f0388a0ef1
commit
a89f26d82d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user