diff options
-rw-r--r-- | src/bltGrAxisOp.C | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bltGrAxisOp.C b/src/bltGrAxisOp.C index ffbeb12..8e7bfea 100644 --- a/src/bltGrAxisOp.C +++ b/src/bltGrAxisOp.C @@ -805,10 +805,10 @@ Axis *Blt_NearestAxis(Graph* graphPtr, int x, int y) continue; if (ops->showTicks) { - Blt_ChainLink link; + - for (link = Blt_Chain_FirstLink(axisPtr->tickLabels_); link != NULL; - link = Blt_Chain_NextLink(link)) { + for (Blt_ChainLink link=Blt_Chain_FirstLink(axisPtr->tickLabels_); + link; link = Blt_Chain_NextLink(link)) { Point2d t; double rw, rh; Point2d bbox[5]; |