Fix compilation error due to wrong set parenthesis.

PR:             ports/71540 (with fix), ports/71574
Submitted by:   Rainer Goellner <rainer at jabbe.de>
Approved by:    portmgr
This commit is contained in:
Michael Reifenberger 2004-09-12 08:53:13 +00:00
parent f1f236e5ec
commit db696d347a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118149

11
cad/qcad/files/patch-ab Normal file
View file

@ -0,0 +1,11 @@
--- qcadlib/src/engine/rs_graphic.cpp.orig Thu Sep 9 07:31:40 2004
+++ qcadlib/src/engine/rs_graphic.cpp Thu Sep 9 07:32:03 2004
@@ -518,7 +518,7 @@
if (fabs(s.x)>1.0e-6) {
fx = ps.x / s.x;
}
- if (fabs(s.y>1.0e-6)) {
+ if (fabs(s.y)>1.0e-6) {
fy = ps.y / s.y;
}