diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/twtstr.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/twtstr.nim b/src/utils/twtstr.nim index 0fef91d3..f6fd2680 100644 --- a/src/utils/twtstr.nim +++ b/src/utils/twtstr.nim @@ -241,7 +241,7 @@ func skipBlanks*(buf: openArray[char]; at: int): int = func skipBlanksTillLF*(buf: openArray[char]; at: int): int = result = at - while result < buf.len and buf[result] in AsciiWhitespace: + while result < buf.len and buf[result] in AsciiWhitespace - {'\n'}: inc result func stripAndCollapse*(s: openArray[char]): string = |