From 3e3e7841ecfb12b4dbc8c397c928685677c8ec40 Mon Sep 17 00:00:00 2001 From: Robin Cornelius Date: Tue, 3 Jan 2017 16:14:54 +0000 Subject: [PATCH] Sub index should be in hex, fixes #44 thanks HendrikY --- libEDSsharp/eds.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libEDSsharp/eds.cs b/libEDSsharp/eds.cs index e388c525..11bf7096 100644 --- a/libEDSsharp/eds.cs +++ b/libEDSsharp/eds.cs @@ -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 {