PATCH: various part 3



little patch that effects the file
libbalsa/message.c

please review...

-- 
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa
--- balsa-/libbalsa/message.c	Wed Oct 17 11:39:30 2001
+++ balsa/libbalsa/message.c	Wed Oct 17 22:24:26 2001
@@ -926,15 +926,11 @@
 
     msg_header = message->header;	
 
-    /* FIXME: Can be simplified into 1 if */
-    if (msg_header->content->type != TYPETEXT) {
-	ret = TRUE;
-    } else {
+    ret = TRUE;
+
+    if (msg_header->content->type == TYPETEXT)
 	if (g_strcasecmp("plain", msg_header->content->subtype) == 0)
 	    ret = FALSE;
-	else
-	    ret = TRUE;
-    }
 
     return ret;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]