mirror of https://codeberg.org/cage/tinmop/
- fixed return type of 'apply-coloring' when the complex-string is empty.
This commit is contained in:
parent
ed13d0b14c
commit
9ef6c0200d
|
@ -391,7 +391,7 @@ latter has a length equals to `total-size'"))
|
|||
(defmethod apply-coloring ((from complex-string) (to string))
|
||||
(with-accessors ((complex-char-array-from complex-char-array)) from
|
||||
(if (misc:sequence-empty-p complex-char-array-from)
|
||||
""
|
||||
(make-tui-string "")
|
||||
(let* ((res (make-tui-string to))
|
||||
(length-diff (- (length to)
|
||||
(text-length from)))
|
||||
|
|
Loading…
Reference in New Issue