Index: plug-ins/script-fu/scripts/frosty-logo.scm
===================================================================
--- plug-ins/script-fu/scripts/frosty-logo.scm	(revision 24949)
+++ plug-ins/script-fu/scripts/frosty-logo.scm	(working copy)
@@ -1,6 +1,7 @@
 ;  FROZEN-TEXT effect
 ;  Thanks to Ed Mackey for this one
 ;   Written by Spencer Kimball
+;   Bug Fix update for GIMP 2.4 was made by LightningIsMyName (LIMN)
 
 (define (apply-frosty-logo-effect img
                                   logo-layer
@@ -30,7 +31,7 @@
     (gimp-image-add-layer img matte-layer 3)
     (gimp-image-add-layer img shadow-layer 4)
     (gimp-image-add-layer img bg-layer 5)
-    (gimp-layer-translate logo-layer border border)
+    ;(gimp-layer-translate logo-layer border border)
     (gimp-selection-none img)
     (gimp-edit-clear sparkle-layer)
     (gimp-edit-clear matte-layer)
@@ -88,6 +89,8 @@
 
     (script-fu-util-image-resize-from-layer img logo-layer)
 
+    (gimp-layer-translate bg-layer (- 0 border) (- 0 border))
+
     (gimp-context-pop)
   )
 )
@@ -96,13 +99,39 @@
                                      logo-layer
                                      size
                                      bg-color)
+
+(let* (
+	(duplicate) (position) (name(car(gimp-layer-get-name logo-layer))) (crop) (temp) (select (cons-array 4 'byte))
+)
   (begin
     (gimp-image-undo-group-start img)
-    (apply-frosty-logo-effect img logo-layer size bg-color)
+	(set! position (car(gimp-image-get-layer-position img logo-layer)))
+	(set! position (- position 1))
+
+	(set! duplicate (car(gimp-layer-new-from-drawable logo-layer img)))
+	(gimp-selection-layer-alpha logo-layer)
+	(gimp-image-add-layer img duplicate -1)
+	(gimp-layer-resize-to-image-size duplicate)
+    (gimp-selection-none img)
+    (apply-frosty-logo-effect img duplicate size bg-color)
+    (set! crop (aref (cadr(gimp-image-get-layers img)) (+ position 6)))
+    (set! temp (aref (cadr(gimp-image-get-layers img)) (+ position 3)))
+    (gimp-selection-layer-alpha temp)
+    (aset select 0 (cadr(gimp-selection-bounds img)))
+    (aset select 1 (caddr(gimp-selection-bounds img)))
+    (aset select 2 (cadddr(gimp-selection-bounds img)))
+    (aset select 3 (cadddr(cdr(gimp-selection-bounds img))))
+
+    (gimp-layer-resize crop (+ 20 (- (aref select 2) (aref select 0))) (+ 20 (- (aref select 3) (aref select 1))) (- 0 (+ 0 (aref select 0))) (- 0 (+ 0 (aref select 1))))
+    (gimp-layer-resize duplicate (car(gimp-drawable-width logo-layer)) (car(gimp-drawable-height logo-layer)) (- 0 (car(gimp-drawable-offsets logo-layer))) (- 0 (cadr(gimp-drawable-offsets logo-layer))))
+    (gimp-image-remove-layer img logo-layer)
+    (gimp-layer-set-name duplicate name)
+    (gimp-selection-none img)
     (gimp-image-undo-group-end img)
     (gimp-displays-flush)
   )
 )
+)
 
 (script-fu-register "script-fu-frosty-logo-alpha"
   _"_Frosty..."
