wibble
[apps/madmutt.git] / lib-mime / mime.h
index 30e5453..4e678e4 100644 (file)
@@ -45,8 +45,9 @@ extern const char *BodyEncodings[];
 #define is_multipart(x) \
     ((x)->type == TYPEMULTIPART \
      || ((x)->type == TYPEMESSAGE && \
-         (!mime_which_token((x)->subtype, -1) == MIME_RFC822) \
-         || !mime_which_token((x)->subtype, -1) == MIME_NEWS))
+         ((!mime_which_token((x)->subtype, -1) == MIME_RFC822) \
+         || !mime_which_token((x)->subtype, -1) == MIME_NEWS)))
+
 #define TYPE(X) ((X->type == TYPEOTHER) && (X->xtype != NULL) ? X->xtype : BodyTypes[(X->type)])
 #define ENCODING(X) BodyEncodings[(X)]