diff --git a/basis/ui/gadgets/panes/panes.factor b/basis/ui/gadgets/panes/panes.factor index 3295ac5a8a..cfc19f72e2 100644 --- a/basis/ui/gadgets/panes/panes.factor +++ b/basis/ui/gadgets/panes/panes.factor @@ -327,8 +327,7 @@ M: paragraph stream-write1 [ H{ } swap gadget-bl drop ] [ gadget-write1 ] if ; : gadget-format ( string style stream -- ) - spin dup empty? - [ 3drop ] [ add-gadget drop ] if ; + '[ _ swap _ swap add-gadget drop ] unless-empty ; M: pack stream-format gadget-format ;