summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2015-11-10 18:39:19 (GMT)
committerfvogel <fvogelnew1@free.fr>2015-11-10 18:39:19 (GMT)
commit354c4a3af09255d7767c66724df005c9911d829b (patch)
tree5f51c5aeec73bca4b3d22a5d28d89c17584ecef2 /generic
parent7b12057b26fb9c39fde8f20dbe0cb3eb40df746f (diff)
parentb4ab9d79f99aab6cfb1014e82271308f4d6184c9 (diff)
downloadtk-354c4a3af09255d7767c66724df005c9911d829b.zip
tk-354c4a3af09255d7767c66724df005c9911d829b.tar.gz
tk-354c4a3af09255d7767c66724df005c9911d829b.tar.bz2
Typos in comments
Diffstat (limited to 'generic')
-rw-r--r--generic/tkTextBTree.c2
-rw-r--r--generic/tkTextDisp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextBTree.c b/generic/tkTextBTree.c
index 7383d21..0fdc280 100644
--- a/generic/tkTextBTree.c
+++ b/generic/tkTextBTree.c
@@ -1112,7 +1112,7 @@ TkBTreeInsertChars(
/*
* I don't believe it's possible for either of the two lines passed to
* this function to be the last line of text, but the function is robust
- * to that case anyway. (We must never re-calculated the line height of
+ * to that case anyway. (We must never re-calculate the line height of
* the last line).
*/
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index a95bb91..02666d0 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -2226,7 +2226,7 @@ UpdateDisplayInfo(
* Here's a problem: see the tests textDisp-29.2.1-4
*
* If the widget is being created, but has not yet been configured it will
- * have a maxY of 1 above, and we we won't have examined all the lines
+ * have a maxY of 1 above, and we won't have examined all the lines
* (just the first line, in fact), and so maxOffset will not be a true
* reflection of the widget's lines. Therefore we must not overwrite the
* original newXPixelOffset in this case.