summaryrefslogtreecommitdiffstats
path: root/src/bltGrText.C
diff options
context:
space:
mode:
authorjoye <joye>2014-01-08 18:31:41 (GMT)
committerjoye <joye>2014-01-08 18:31:41 (GMT)
commit8eec3098de1975aa28c3a8afd82aa5cb0c6ff3ae (patch)
tree2a4d7e6d3ca517c6d34f9eafde1d90f32b275735 /src/bltGrText.C
parent34d985456d916650bfa84db6cbf8b582ca3d3d45 (diff)
downloadblt-8eec3098de1975aa28c3a8afd82aa5cb0c6ff3ae.zip
blt-8eec3098de1975aa28c3a8afd82aa5cb0c6ff3ae.tar.gz
blt-8eec3098de1975aa28c3a8afd82aa5cb0c6ff3ae.tar.bz2
*** empty log message ***
Diffstat (limited to 'src/bltGrText.C')
-rw-r--r--src/bltGrText.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bltGrText.C b/src/bltGrText.C
index 0605fb7..6cff888 100644
--- a/src/bltGrText.C
+++ b/src/bltGrText.C
@@ -112,8 +112,8 @@ void Blt_Ts_GetExtents(TextStyle *tsPtr, const char *text,
unsigned int w, h;
Blt_GetTextExtents(tsPtr->font, tsPtr->leader, text, -1, &w, &h);
- *widthPtr = w + PADDING(tsPtr->xPad);
- *heightPtr = h + PADDING(tsPtr->yPad);
+ *widthPtr = w + 2*tsPtr->xPad;
+ *heightPtr = h + 2*tsPtr->yPad;
}
}