Skip to content

Commit

Permalink
Sub index should be in hex, fixes #44 thanks HendrikY
Browse files Browse the repository at this point in the history
  • Loading branch information
robincornelius committed Jan 3, 2017
1 parent 5ac2e35 commit 3e3e784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libEDSsharp/eds.cs
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ public void write(StreamWriter writer)

if (parent!=null)
{
writer.WriteLine(string.Format("[{0:X}sub{1}]", index,subindex));
writer.WriteLine(string.Format("[{0:X}sub{1:X}]", index,subindex));
}
else
{
Expand Down

0 comments on commit 3e3e784

Please sign in to comment.