Skip to content

Commit

Permalink
Merge pull request #43 from urusai88/master
Browse files Browse the repository at this point in the history
fix toHex command
  • Loading branch information
taubenangriff authored Apr 3, 2023
2 parents c828249 + 711a817 commit d334ccf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ToolFunctions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ private int Reinterpret(String InputFile,
try
{
String FileNameNew = Path.GetFileNameWithoutExtension(InputFile) + ReinterpretedFileSuffix + ".xml";
using (var input = SecureIoHandler.WriteHandle(FileNameNew, overwrite))
using (var output = SecureIoHandler.ReadHandle(InputFile))
using (var input = SecureIoHandler.ReadHandle(InputFile))
using (var output = SecureIoHandler.WriteHandle(FileNameNew, overwrite))
{
if (input is null || output is null)
return -1;
Expand Down

0 comments on commit d334ccf

Please sign in to comment.