mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Correct length in exe resource string tables
the change done by Matt Ellis (citizenmatt)
This commit is contained in:
@@ -35,7 +35,7 @@ public class StringTable extends VersionInfoBin {
|
||||
if (bin.getName().equals(key)) {
|
||||
StringTableEntry entry = (StringTableEntry) bin;
|
||||
((WChar) entry.getMember("Value")).setValue(value);
|
||||
((Word) entry.getMember("wValueLength")).setValue(value.length());
|
||||
((Word) entry.getMember("wValueLength")).setValue(value.length() + 1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user