Fixed Hanging Indent logic.
This commit is contained in:
parent
933d9155c7
commit
03fdd0e613
@ -48,7 +48,7 @@ namespace DataLoader
|
||||
tok = Textm.IndexOfAny(chrarr);
|
||||
|
||||
// This will find a continuous action flag without finding a hanging indent
|
||||
if (tok == -1 && Textm[Textm.Length - 1] == '\x5')
|
||||
if (tok == -1 && Textm.Length > 0 && Textm[Textm.Length - 1] == '\x5')
|
||||
tok = Textm.Length - 1;
|
||||
|
||||
// if this is bge, handle some special cases for bold/underline next that were not
|
||||
|
Loading…
x
Reference in New Issue
Block a user