diff --git a/PROMS/DataLoader/Steps.cs b/PROMS/DataLoader/Steps.cs index f6552472..abc99382 100644 --- a/PROMS/DataLoader/Steps.cs +++ b/PROMS/DataLoader/Steps.cs @@ -40,7 +40,7 @@ namespace DataLoader tok = Textm.IndexOfAny(chrarr); // This will find a continuous action flag without finding a hanging indent - if (tok == 0 && Textm[Textm.Length - 1] == '\x5') + if (tok == -1 && Textm[Textm.Length - 1] == '\x5') tok = Textm.Length - 1; if (tok < 0)