Return empty string if sep is at end of string in strbreakup.
2006-10-26 Kevin Cozens <kcozens@cvs.gnome.org> * plug-ins/script-fu/scripts/script-fu-compat.init: Return empty string if sep is at end of string in strbreakup.
This commit is contained in:
committed by
Kevin Cozens
parent
897ed62182
commit
ce957a3cc4
@ -155,9 +155,7 @@
|
||||
(set! i (+ i 1))
|
||||
)
|
||||
|
||||
(if (< start end)
|
||||
(set! l (append l (list (substring str start end))))
|
||||
)
|
||||
(set! l (append l (list (substring str start end))))
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user