summaryrefslogtreecommitdiffstats
path: root/bltGrMarkerBitmap.C
diff options
context:
space:
mode:
authorjoye <joye>2014-03-27 17:21:14 (GMT)
committerjoye <joye>2014-03-27 17:21:14 (GMT)
commitc0e94fc70042bbce181f47ad6f571191e9bea019 (patch)
tree7b8bc3c3da168dac4c890d954e704fe422deb121 /bltGrMarkerBitmap.C
parent72e8d5606ec9f12db90e10616b46c620dad4538e (diff)
downloadblt-c0e94fc70042bbce181f47ad6f571191e9bea019.zip
blt-c0e94fc70042bbce181f47ad6f571191e9bea019.tar.gz
blt-c0e94fc70042bbce181f47ad6f571191e9bea019.tar.bz2
*** empty log message ***
Diffstat (limited to 'bltGrMarkerBitmap.C')
-rw-r--r--bltGrMarkerBitmap.C6
1 files changed, 3 insertions, 3 deletions
diff --git a/bltGrMarkerBitmap.C b/bltGrMarkerBitmap.C
index 26b6ee4..bac9682 100644
--- a/bltGrMarkerBitmap.C
+++ b/bltGrMarkerBitmap.C
@@ -172,11 +172,11 @@ static void MapBitmapProc(Marker* markerPtr)
Tk_SizeOfBitmap(graphPtr->display, bmPtr->ops->bitmap, &width, &height);
Point2d anchorPt =
- Blt_MapPoint(bmPtr->ops->worldPts->points, &markerPtr->ops->axes);
+ Blt_MapPoint(bmPtr->ops->worldPts->points, &bmPtr->ops->axes);
anchorPt = Blt_AnchorPoint(anchorPt.x, anchorPt.y, width, height,
bmPtr->ops->anchor);
- anchorPt.x += markerPtr->ops->xOffset;
- anchorPt.y += markerPtr->ops->yOffset;
+ anchorPt.x += bmPtr->ops->xOffset;
+ anchorPt.y += bmPtr->ops->yOffset;
Region2d extents;
extents.left = anchorPt.x;