summaryrefslogtreecommitdiffstats
path: root/src/proj_pt.cpp
diff options
context:
space:
mode:
authorAndrew Higginson <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
committerAndrew <at.higginson@gmail.com>2011-12-27 21:04:47 +0000
commit80960b623a99aae1402ab651b2974ef544ed3b03 (patch)
treeba49d42c2789e9e11f805e2d5263e10f9fedeef8 /src/proj_pt.cpp
parenttry to fix bug (diff)
parentGDL: Cherry-pick upstream patch 73852 (2011-03-23) - Add missing return value. (diff)
downloadinkscape-80960b623a99aae1402ab651b2974ef544ed3b03.tar.gz
inkscape-80960b623a99aae1402ab651b2974ef544ed3b03.zip
merged with trunk so I can build again...
(bzr r10092.1.36)
Diffstat (limited to 'src/proj_pt.cpp')
-rw-r--r--src/proj_pt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proj_pt.cpp b/src/proj_pt.cpp
index 1d308f847..d9d4e06f1 100644
--- a/src/proj_pt.cpp
+++ b/src/proj_pt.cpp
@@ -48,7 +48,7 @@ Pt2::normalize() {
Geom::Point
Pt2::affine() {
if (fabs(pt[2]) < epsilon) {
- return Geom::Point (NR_HUGE, NR_HUGE);
+ return Geom::Point (Geom::infinity(), Geom::infinity());
}
return Geom::Point (pt[0]/pt[2], pt[1]/pt[2]);
}