summaryrefslogtreecommitdiffstats
path: root/libkmime/kmime_charfreq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkmime/kmime_charfreq.cpp')
-rw-r--r--libkmime/kmime_charfreq.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libkmime/kmime_charfreq.cpp b/libkmime/kmime_charfreq.cpp
index a75d76853..93413b80c 100644
--- a/libkmime/kmime_charfreq.cpp
+++ b/libkmime/kmime_charfreq.cpp
@@ -84,9 +84,9 @@ void CharFreq::count( const char * it, size_t len ) {
default:
{
uchar c = *it;
- if ( c == '\t' || c >= ' ' && c <= '~' )
+ if ( (c == '\t') || ((c >= ' ') && (c <= '~')) )
++printable;
- else if ( c == 127 || c < ' ' )
+ else if ( (c == 127) || (c < ' ') )
++CTL;
else
++eightBit;