Skip to content

Commit

Permalink
Fix possible corruption of PROJECTwm stream
Browse files Browse the repository at this point in the history
  • Loading branch information
chelh committed Aug 10, 2016
1 parent ee0033e commit 45884a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions VbaSyncLib/VbaFolder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ public void Write(string filePath) {
projectWm.Add(0x00);
projectWm.AddRange(Encoding.Unicode.GetBytes(modName));
projectWm.Add(0x00);
projectWm.Add(0x00);
}
projectWm.AddRange(new byte[] {0x00, 0x00});
vbaProject.AddStream("PROJECTwm");
Expand Down

0 comments on commit 45884a7

Please sign in to comment.