diff options
author | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2017-07-20 10:55:23 (GMT) |
---|---|---|
committer | Adrián Medraño Calvo <adrian@medranocalvo.com> | 2017-07-21 11:40:47 (GMT) |
commit | ce7e3c4d7e0368d592f64d3792eeb63837732351 (patch) | |
tree | d8e04c92f8d9bc67ec5bee16066936e13faf862a /generic/tkbltGrMarkerText.C | |
parent | 0383f13a9c207f08a063ef44afd151fc40156553 (diff) | |
download | blt-ce7e3c4d7e0368d592f64d3792eeb63837732351.zip blt-ce7e3c4d7e0368d592f64d3792eeb63837732351.tar.gz blt-ce7e3c4d7e0368d592f64d3792eeb63837732351.tar.bz2 |
Remove superfluous literal suffixes
Diffstat (limited to 'generic/tkbltGrMarkerText.C')
-rw-r--r-- | generic/tkbltGrMarkerText.C | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkbltGrMarkerText.C b/generic/tkbltGrMarkerText.C index f6307fb..5afa6ca 100644 --- a/generic/tkbltGrMarkerText.C +++ b/generic/tkbltGrMarkerText.C @@ -120,8 +120,8 @@ int TextMarker::configure() TextMarkerOptions* ops = (TextMarkerOptions*)ops_; ops->style.angle = (float)fmod(ops->style.angle, 360.0); - if (ops->style.angle < 0.0f) - ops->style.angle += 360.0f; + if (ops->style.angle < 0.0) + ops->style.angle += 360.0; GC newGC = NULL; XGCValues gcValues; @@ -211,7 +211,7 @@ int TextMarker::pointIn(Point2d *samplePtr) if (!ops->string) return 0; - if (ops->style.angle != 0.0f) { + if (ops->style.angle != 0.0) { Point2d points[5]; // Figure out the bounding polygon (isolateral) for the text and see @@ -233,7 +233,7 @@ int TextMarker::regionIn(Region2d *extsPtr, int enclosed) { TextMarkerOptions* ops = (TextMarkerOptions*)ops_; - if (ops->style.angle != 0.0f) { + if (ops->style.angle != 0.0) { Point2d points[5]; for (int ii=0; ii<4; ii++) { points[ii].x = outline_[ii].x + anchorPt_.x; |