summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjoye <joye>2015-06-02 19:50:36 (GMT)
committerjoye <joye>2015-06-02 19:50:36 (GMT)
commit8a8a25902733099167f6a1393b034998220117c3 (patch)
tree2ec99e7c4450187628cf06cae812ac1217779209 /src
parentf6fdac092ee08fe72e416ade97704b15cc2f1e34 (diff)
downloadblt-8a8a25902733099167f6a1393b034998220117c3.zip
blt-8a8a25902733099167f6a1393b034998220117c3.tar.gz
blt-8a8a25902733099167f6a1393b034998220117c3.tar.bz2
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/bltGrText.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bltGrText.C b/src/bltGrText.C
index 8aa246e..cc7fc2e 100644
--- a/src/bltGrText.C
+++ b/src/bltGrText.C
@@ -93,7 +93,7 @@ void TextStyle::drawText(Drawable drawable, const char *text, int x, int y)
Tk_TextLayout layout = Tk_ComputeTextLayout(ops->font, text, -1, -1,
ops->justify, 0, &w1, &h1);
Point2d rr = rotateText(x, y, w1, h1);
-#if (TCL_MAJOR_VERSION == 8) || (TCL_MINOR_VERSION >= 6)
+#if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 6)
TkDrawAngledTextLayout(graphPtr_->display_, drawable, gc_, layout,
rr.x, rr.y, ops->angle, 0, -1);
#else
@@ -117,7 +117,7 @@ void TextStyle::drawText2(Drawable drawable, const char *text,
Tk_TextLayout layout = Tk_ComputeTextLayout(ops->font, text, -1, -1,
ops->justify, 0, &w1, &h1);
Point2d rr = rotateText(x, y, w1, h1);
-#if (TCL_MAJOR_VERSION == 8) || (TCL_MINOR_VERSION >= 6)
+#if (TCL_MAJOR_VERSION == 8) && (TCL_MINOR_VERSION >= 6)
TkDrawAngledTextLayout(graphPtr_->display_, drawable, gc_, layout,
rr.x, rr.y, ops->angle, 0, -1);
#else