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:
Kevin Cozens 2006-10-27 02:48:52 +00:00 committed by Kevin Cozens
parent 897ed62182
commit ce957a3cc4
2 changed files with 6 additions and 3 deletions

View File

@ -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,

View File

@ -155,11 +155,9 @@
(set! i (+ i 1))
)
(if (< start end)
(set! l (append l (list (substring str start end))))
)
)
)
l
)