X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-gui%2Flib%2Fspellcheck.tcl;h=e6120303e940ee6c849bf706415c1b450e68b57f;hb=47577456bfe61c32df73a7cf4a388f007af3b18f;hp=a479b2f2857751d4d573c7bfe00f9e671d437aed;hpb=8b1981d32b41f1b4e26d8d96a3c6e63b9bc746b0;p=git.git diff --git a/git-gui/lib/spellcheck.tcl b/git-gui/lib/spellcheck.tcl index a479b2f28..e6120303e 100644 --- a/git-gui/lib/spellcheck.tcl +++ b/git-gui/lib/spellcheck.tcl @@ -314,6 +314,7 @@ method _run {} { method _read {} { while {[gets $s_fd line] >= 0} { set lineno [lindex $s_pending 0 0] + set line [string trim $line] if {$s_clear} { $w_text tag remove misspelled "$lineno.0" "$lineno.end"