diff options
author | fvogel <fvogelnew1@free.fr> | 2021-04-17 17:28:39 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2021-04-17 17:28:39 (GMT) |
commit | 4ce78e47119129fea86ddbdb477ee2f562377bde (patch) | |
tree | ab75e4ed11c0a54bfe6fd9856af5b24032778e4a /generic | |
parent | ca1b22ae3f2a6d6160dfc3a537391a4b9eb1f4df (diff) | |
download | tk-4ce78e47119129fea86ddbdb477ee2f562377bde.zip tk-4ce78e47119129fea86ddbdb477ee2f562377bde.tar.gz tk-4ce78e47119129fea86ddbdb477ee2f562377bde.tar.bz2 |
Cosmetic style changes
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkTextIndex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tkTextIndex.c b/generic/tkTextIndex.c index 6a7853d..a876711 100644 --- a/generic/tkTextIndex.c +++ b/generic/tkTextIndex.c @@ -1044,25 +1044,25 @@ TkTextIndexAdjustToStartEnd( if (textPtr->start != NULL) { bound = TkBTreeLinesTo(NULL, textPtr->start); TkTextMakeByteIndex(textPtr->sharedTextPtr->tree, NULL, bound, 0, - &indexBound); + &indexBound); if (TkTextIndexCmp(indexPtr, &indexBound) < 0) { if (check) { return TCL_ERROR; } TkTextMakeByteIndex(textPtr->sharedTextPtr->tree, NULL, bound, 0, - indexPtr); + indexPtr); } } if (textPtr->end != NULL) { bound = TkBTreeLinesTo(NULL, textPtr->end); TkTextMakeByteIndex(textPtr->sharedTextPtr->tree, NULL, bound, 0, - &indexBound); + &indexBound); if (TkTextIndexCmp(indexPtr, &indexBound) > 0) { if (check) { return TCL_ERROR; } TkTextMakeByteIndex(textPtr->sharedTextPtr->tree, NULL, bound, 0, - indexPtr); + indexPtr); } } return TCL_OK; |