Skip to content

Commit

Permalink
Merge branch 'develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
primo-ppcg committed Apr 23, 2024
2 parents b28eef4 + d1f5ae1 commit ff33701
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/BinaryKits.Zpl.Viewer/ZplAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -157,19 +157,15 @@ private string[] SplitZplCommands(string zplData)

var commandLetters = command.Substring(1, 2).ToUpper();

if (ignoredCommandsHS.Contains(commandLetters))
{
continue;
}
else if (commandLetters == "CT")
if (commandLetters == "CT")
{
tilde = command[3];
}
else if (commandLetters == "CC")
{
caret = command[3];
}
else
else if (!ignoredCommandsHS.Contains(commandLetters))
{
results.Add(command);
}
Expand Down

0 comments on commit ff33701

Please sign in to comment.