--- deliantra/Deliantra-Client/DC/UI.pm 2006/05/14 21:13:11 1.203 +++ deliantra/Deliantra-Client/DC/UI.pm 2006/05/14 22:24:16 1.204 @@ -33,9 +33,8 @@ my ($x, $y) = $widget->coord2global ($widget->{w}, 0); - if ($x + $TOOLTIP->{w} > $::WIDTH) { - ($x, $y) = $widget->coord2global (-$TOOLTIP->{w}, 0); - } + ($x, $y) = $widget->coord2global (-$TOOLTIP->{w}, 0) + if $x + $TOOLTIP->{w} > $::WIDTH; $TOOLTIP->move ($x, $y); $TOOLTIP->check_size;