CVS: sylpheed-claws/src compose.c,1.382.2.270,1.382.2.271

Colin Leroy <[email protected]>
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /cvsroot/sylpheed-claws/sylpheed-claws/src
In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv27154/src

Modified Files:
      Tag: gtk2
	compose.c 
Log Message:
2006-05-13 [colin]	2.2.0cvs12

	* src/compose.c
		Remove useless if (a) b; else b;
		Thanks to wwp

Index: compose.c
===================================================================
RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/compose.c,v
retrieving revision 1.382.2.270
retrieving revision 1.382.2.271
diff -u -r1.382.2.270 -r1.382.2.271
--- compose.c	12 May 2006 17:46:08 -0000	1.382.2.270
+++ compose.c	13 May 2006 12:41:59 -0000	1.382.2.271
@@ -6126,13 +6126,8 @@
 
 		if (ac == compose->account) def_menu = num;
 
-		if (ac->name) {
-			name = g_markup_printf_escaped("From: <i>%s</i>",
-					       ac->account_name);
-		} else {
-			name = g_markup_printf_escaped("From: <i>%s</i>",
-					       ac->account_name);
-		}
+		name = g_markup_printf_escaped("From: <i>%s</i>",
+				       ac->account_name);
 		
 		if (ac == compose->account) {
 			if (ac->name && *ac->name) {



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.