Version: 1.9.3 (using KDE 3.5.3 Level "a" , unofficial build of SUSE ) Compiler: Target: i586-suse-linux OS: Linux (i686) release 2.6.13-15-debug The command "Clean spaces" in the "Edit"-Menu of Kmail composer removes not only the spaces but also every comma in the text. Occurs on two different machines every time the command is executed. (Highly reproduceable..)
Must be a typo, right? --- kmcomposewin.cpp.orig 2006-06-03 00:08:14.070995984 +0200 +++ kmcomposewin.cpp 2006-06-03 00:08:17.279373851 +0200 @@ -4016,7 +4016,7 @@ } // Squeeze tabs and spaces - QRegExp squeeze( "[\t, ]+" ); + QRegExp squeeze( "[\t ]+" ); s.replace( squeeze, QChar( ' ' ) ); // Remove trailing whitespace
yep. my fault. I'll fix.
SVN commit 547861 by winterz: Don't remove commas when cleaning whitespace. BUGS: 128528 M +1 -1 kmcomposewin.cpp --- branches/KDE/3.5/kdepim/kmail/kmcomposewin.cpp #547860:547861 @@ -4023,7 +4023,7 @@ } // Squeeze tabs and spaces - QRegExp squeeze( "[\t, ]+" ); + QRegExp squeeze( "[\t ]+" ); s.replace( squeeze, QChar( ' ' ) ); // Remove trailing whitespace