summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/smsutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smsutil.c b/src/smsutil.c
index 22d0ea9e..be60ee95 100644
--- a/src/smsutil.c
+++ b/src/smsutil.c
@@ -240,7 +240,7 @@ gboolean sms_mwi_dcs_decode(guint8 dcs, enum sms_mwi_type *type,
else
ch = SMS_CHARSET_7BIT;
- act = dcs & 0x8;
+ act = (dcs & 0x8) ? TRUE : FALSE;
t = (enum sms_mwi_type) (dcs & 0x3);