Fix VDF Writing...

pull/169/head 0.0.6.1
Peter Repukat 2 years ago
parent 1d57b381ea
commit cf2dda5f98

@ -499,6 +499,9 @@ class Parser {
ofile.write(vdffile.identifier.data(), vdffile.identifier.length());
ofile.write("\x00", 1);
for (auto& shortcut : vdffile.shortcuts) {
if (shortcut.idx.data[0] != '\x0') {
ofile.write("\x00", 1);
}
ofile.write(shortcut.idx.data, 2);
ofile.write("\x00", 1);
//

Loading…
Cancel
Save