Browse Source

calc: fix usage of (substring)

tags/v0.9.4
Přemysl Janouch 3 years ago
parent
commit
2474b5f3f5
Signed by: Přemysl Janouch <p.janouch@gmail.com> GPG Key ID: B715679E3A361BE6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/zyklonb/calc

+ 1
- 1
plugins/zyklonb/calc View File

@@ -89,7 +89,7 @@
(let ([s-len (string-length s)] [with-len (string-length start)])
(and (>= s-len with-len)
(string=? (substring s 0 with-len) start)
(substring s with-len))))
(substring s with-len s-len))))

; --- Calculator ---------------------------------------------------------------


Loading…
Cancel
Save