mirror of https://github.com/GNOME/gimp.git
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:
parent
897ed62182
commit
ce957a3cc4
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
|
||||
2006-10-26 Kevin Cozens <kcozens@cvs.gnome.org>
|
||||
|
||||
* plug-ins/script-fu/scripts/script-fu-compat.init: Added strbreakup,
|
||||
|
|
|
@ -155,11 +155,9 @@
|
|||
(set! i (+ i 1))
|
||||
)
|
||||
|
||||
(if (< start end)
|
||||
(set! l (append l (list (substring str start end))))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
l
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue