summaryrefslogtreecommitdiffstats
path: root/generic/tkText.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-08 08:57:12 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-09-08 08:57:12 (GMT)
commit4e79e6a36da48f58d7704b5d5a4fb1fd9f5b2479 (patch)
tree08ad201cf1e5471add96f19782ea508ee982e8f7 /generic/tkText.c
parent54d082b5c348c688eae446436c0077684686e610 (diff)
downloadtk-4e79e6a36da48f58d7704b5d5a4fb1fd9f5b2479.zip
tk-4e79e6a36da48f58d7704b5d5a4fb1fd9f5b2479.tar.gz
tk-4e79e6a36da48f58d7704b5d5a4fb1fd9f5b2479.tar.bz2
fix comment (Thanks, Christian!)
Diffstat (limited to 'generic/tkText.c')
-rw-r--r--generic/tkText.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkText.c b/generic/tkText.c
index ab77d99..0e41ac8 100644
--- a/generic/tkText.c
+++ b/generic/tkText.c
@@ -3042,7 +3042,7 @@ CountIndices(
* If 'viewUpdate' is true, we may adjust the window contents'
* y-position, and scrollbar setting.
*
- * If 'viewUpdate' is false, true we can guarantee that textPtr->topIndex
+ * If 'viewUpdate' is true we can guarantee that textPtr->topIndex
* points to a valid TkTextLine after this function returns. However, if
* 'viewUpdate' is false, then there is no such guarantee (since
* topIndex.linePtr can be garbage). The caller is expected to take