git-gui: Remove space from the end of aspell's reply before processing
authorJohannes Sixt <johannes.sixt@telecom.at>
Tue, 30 Sep 2008 06:39:29 +0000 (08:39 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 30 Sep 2008 19:59:18 +0000 (12:59 -0700)
commit34785f8ccabb12f684352902b7f201135b9ccd51
tree559a889bda62d96b9010c810d4da31f826b70d50
parent0aea2842d9d556afa4a3e8120e465479ad7368ca
git-gui: Remove space from the end of aspell's reply before processing

When git gui processes a reply from aspell it explicitly ignores an empty
line. The Windows version of aspell, however, terminates lines with CRLF,
but TCL's 'gets' does not remove CR, hence, a "visibly" empty line was not
actually recognized as empty. With this change we explicitly trim off
whitespace before the line is further processed.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/spellcheck.tcl