added missing .inline for toCChar
This commit is contained in:
parent
10da888c07
commit
ff280c0127
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ proc flushDot*(conf: ConfigRef) =
|
||||||
conf.lastMsgWasDot.excl stdOrrKind
|
conf.lastMsgWasDot.excl stdOrrKind
|
||||||
write(stdOrr, "\n")
|
write(stdOrr, "\n")
|
||||||
|
|
||||||
proc toCChar*(c: char; result: var string) =
|
proc toCChar*(c: char; result: var string) {.inline.} =
|
||||||
case c
|
case c
|
||||||
of '\0'..'\x1F', '\x7F'..'\xFF':
|
of '\0'..'\x1F', '\x7F'..'\xFF':
|
||||||
result.add '\\'
|
result.add '\\'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue