summaryrefslogtreecommitdiffstats
path: root/generic/tkTextDisp.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2014-11-21 21:19:28 (GMT)
committerfvogel <fvogelnew1@free.fr>2014-11-21 21:19:28 (GMT)
commit0da68cf7b3a0be2417f220ce6a09711934774b76 (patch)
tree27f99252fdb04aac0147546086cf17d45a237f00 /generic/tkTextDisp.c
parentb04a66064750406884bc65f57f4a4e8b63f69930 (diff)
parent9d5ff2c244a14567d97787d96edb42a207783f41 (diff)
downloadtk-0da68cf7b3a0be2417f220ce6a09711934774b76.zip
tk-0da68cf7b3a0be2417f220ce6a09711934774b76.tar.gz
tk-0da68cf7b3a0be2417f220ce6a09711934774b76.tar.bz2
Fix typos in comments
Diffstat (limited to 'generic/tkTextDisp.c')
-rw-r--r--generic/tkTextDisp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextDisp.c b/generic/tkTextDisp.c
index 8ceb3fa..a0cbc52 100644
--- a/generic/tkTextDisp.c
+++ b/generic/tkTextDisp.c
@@ -1020,7 +1020,7 @@ FreeStyle(
* whose leftmost character is given by indexPtr.
*
* Results:
- * The return value is a pointer to a DLine structure desribing the
+ * The return value is a pointer to a DLine structure describing the
* display line. All fields are filled in and correct except for y and
* nextPtr.
*
@@ -1909,7 +1909,7 @@ UpdateDisplayInfo(
prevPtr->index.linePtr) != lineHeight)) {
/*
* The logical line height we just calculated is actually
- * differnt to the currently cached height of the text line.
+ * different to the currently cached height of the text line.
* That is fine (the text line heights are only calculated
* asynchronously), but we must update the cached height so
* that any counts made with DLine pointers are the same as