head 1.2; access; symbols pkgsrc-2014Q3:1.1.0.6 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.4 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.2 pkgsrc-2014Q1-base:1.1; locks; strict; comment @// @; 1.2 date 2014.11.14.08.03.31; author markd; state dead; branches; next 1.1; commitid BuARrTqTLcK5U7Yx; 1.1 date 2014.02.08.12.53.32; author wiedi; state Exp; branches; next ; commitid XU7EyExVot49tiox; desc @@ 1.2 log @Update to KDE SC 4.14.3 @ text @$NetBSD: patch-umbrello_widgets_floatingdashlinewidget.cpp,v 1.1 2014/02/08 12:53:32 wiedi Exp $ --- umbrello/widgets/floatingdashlinewidget.cpp.orig 2014-01-02 19:37:28.000000000 +0000 +++ umbrello/widgets/floatingdashlinewidget.cpp @@@@ -86,7 +86,7 @@@@ void FloatingDashLineWidget::setText(con bool FloatingDashLineWidget::onLine(const UMLScenePoint &point) { // check if the given point is the start or end point of the line - if (( (abs( y() + height() - point.y() )) <= POINT_DELTA) || (abs( y() - point.y() ) <= POINT_DELTA)) { + if (( (abs( (long) (y() + height() - point.y()) )) <= POINT_DELTA) || (abs( (long) (y() - point.y()) ) <= POINT_DELTA)) { return true; } // check if the given point is the start or end point of the line @ 1.1 log @fix build on SunOS (math is ambiguous) @ text @d1 1 a1 1 $NetBSD$ @