summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-07-12 09:33:14 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-07-12 09:33:14 (GMT)
commita0ad668fc8f8b2ec4dd82126ff7e60706abd0d0d (patch)
tree00e072143ac309eb1295a74ebdc1349d7842bf99 /generic
parent55208e8f833e1be79f085fa7cd1519b97fa9cb23 (diff)
downloadtk-a0ad668fc8f8b2ec4dd82126ff7e60706abd0d0d.zip
tk-a0ad668fc8f8b2ec4dd82126ff7e60706abd0d0d.tar.gz
tk-a0ad668fc8f8b2ec4dd82126ff7e60706abd0d0d.tar.bz2
The draw-in-context functions on platforms for which TK_DRAW_IN_CONTEXT is not defined are unused. Add comments telling this and pointing to ticket [7655f65ae7].
Diffstat (limited to 'generic')
-rw-r--r--generic/tkFont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index ee72d83..bdaf971 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -2298,7 +2298,7 @@ Tk_DrawTextLayout(
int x, int y, /* Upper-left hand corner of rectangle in
* which to draw (pixels). */
int firstChar, /* The index of the first character to draw
- * from the given text item. 0 specfies the
+ * from the given text item. 0 specifies the
* beginning. */
int lastChar) /* The index just after the last character to
* draw from the given text item. A number < 0
@@ -2369,7 +2369,7 @@ TkDrawAngledTextLayout(
* which to draw (pixels). */
double angle,
int firstChar, /* The index of the first character to draw
- * from the given text item. 0 specfies the
+ * from the given text item. 0 specifies the
* beginning. */
int lastChar) /* The index just after the last character to
* draw from the given text item. A number < 0