Commit b36de3b8 authored by Kevin Cozens's avatar Kevin Cozens Committed by Kevin Cozens

Fixed minor error in script. (Related to bug #153900 and compatability

2004-10-14  Kevin Cozens  <kcozens@cvs.gimp.org>

	* plug-ins/script-fu/scripts/neon.scm: Fixed minor error in script.
	(Related to bug #153900 and compatability with Tiny-Fu)
parent 917bc93b
2004-10-14 Kevin Cozens <kcozens@cvs.gimp.org>
* plug-ins/script-fu/scripts/neon.scm: Fixed minor error in script.
(Related to bug #153900 and compatability with Tiny-Fu)
2004-10-14 DindinX <dindinx@gimp.org>
* plug-ins/common/neon.c: fixed the handling of drawable with alpha.
......
......@@ -43,7 +43,7 @@
(min-val (min R G B))
(delta (- max-val min-val))
(hue 0))
(if (= max 0) 0
(if (= delta 0) 0
(begin
(cond ((= max-val R) (set! hue (/ (- G B) (* 1.0 delta))))
((= max-val G) (set! hue (+ 2 (/ (- B R) (* 1.0 delta)))))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment