summaryrefslogtreecommitdiffstats
path: root/libkdepim/addresseeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/addresseeview.cpp')
-rw-r--r--libkdepim/addresseeview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libkdepim/addresseeview.cpp b/libkdepim/addresseeview.cpp
index c250aa495..cde5efe82 100644
--- a/libkdepim/addresseeview.cpp
+++ b/libkdepim/addresseeview.cpp
@@ -782,7 +782,7 @@ TQString AddresseeView::strippedNumber( const TQString &number )
for ( uint i = 0; i < number.length(); ++i ) {
TQChar c = number[ i ];
- if ( c.isDigit() || c == '*' || c == '#' || c == '+' && i == 0 )
+ if ( (c.isDigit() || (c == '*') || (c == '#') || (c == '+')) && (i == 0) )
retval.append( c );
}