summaryrefslogtreecommitdiff
path: root/git-gui/lib/spellcheck.tcl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-11-01 22:31:14 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-11-01 22:31:14 -0700
commitfaf1dc7223be9ffddf775916913bb8e22762cdfb (patch)
tree0bf53d2def96c5a26e2e80c0e7802a17701f9fb1 /git-gui/lib/spellcheck.tcl
parentgit-svn: change dashed git-commit-tree to git commit-tree (diff)
parentgit-gui: Help identify aspell version on Windows too (diff)
downloadtgif-faf1dc7223be9ffddf775916913bb8e22762cdfb.tar.xz
Merge branch 'maint' of git://repo.or.cz/git-gui into maint
* 'maint' of git://repo.or.cz/git-gui: git-gui: Help identify aspell version on Windows too
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 78f344f08f..a479b2f285 100644
--- a/git-gui/lib/spellcheck.tcl
+++ b/git-gui/lib/spellcheck.tcl
@@ -80,7 +80,7 @@ method _connect {pipe_fd} {
error_popup [strcat [mc "Unrecognized spell checker"] ":\n\n$s_version"]
return
}
- set s_version [string range $s_version 5 end]
+ set s_version [string range [string trim $s_version] 5 end]
regexp \
{International Ispell Version .* \(but really (Aspell .*?)\)$} \
$s_version _junk s_version