X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-gui%2Flib%2Fspellcheck.tcl;h=e6120303e940ee6c849bf706415c1b450e68b57f;hb=42fc11c1103a88c49233f04dc0c2f5659b3973fe;hp=a479b2f2857751d4d573c7bfe00f9e671d437aed;hpb=f6276b788f26c3c148c2d5465a6b03fc09bb785c;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"