summaryrefslogtreecommitdiff
path: root/git-gui/lib/spellcheck.tcl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-02-17 01:42:49 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-02-17 01:42:49 (GMT)
commit67cdec1e58f1f9bc17d500b04e856042e0b2bf59 (patch)
treea38ac4515ec07dcd453a3a1accbedbb763d94b43 /git-gui/lib/spellcheck.tcl
parentf124e986cf19e8f36895ae474d50f8d389e73d02 (diff)
parent740b9b9ff4db2c32eb655213b44e3e5249128426 (diff)
downloadgit-67cdec1e58f1f9bc17d500b04e856042e0b2bf59.zip
git-67cdec1e58f1f9bc17d500b04e856042e0b2bf59.tar.gz
git-67cdec1e58f1f9bc17d500b04e856042e0b2bf59.tar.bz2
Merge git://repo.or.cz/git-gui
* git://repo.or.cz/git-gui: git-gui: Correct size of dictionary name widget in options dialog git-gui: Paper bag fix bad string length call in spellchecker
Diffstat (limited to 'git-gui/lib/spellcheck.tcl')
-rw-r--r--git-gui/lib/spellcheck.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui/lib/spellcheck.tcl b/git-gui/lib/spellcheck.tcl
index 01c2c4f..7f018e4 100644
--- a/git-gui/lib/spellcheck.tcl
+++ b/git-gui/lib/spellcheck.tcl
@@ -308,7 +308,7 @@ method _read {} {
# try to round out the word.
#
while {$curr ne $orig
- && [string equal -length [llength $curr] $curr $orig]} {
+ && [string equal -length [string length $curr] $curr $orig]} {
set n_loc [$w_text index "$e_loc +1c"]
set n_curr [$w_text get $b_loc $n_loc]
if {$n_curr eq $curr} {