[Commits] summaryview.c 1.395.2.460 1.395.2.461 mainwindow.c 1.274.2.362 1.274.2.363

wwp at claws-mail.org wwp at claws-mail.org
Mon Dec 3 11:11:38 CET 2012


Update of /home/claws-mail/claws/src
In directory srv:/tmp/cvs-serv22492/src

Modified Files:
      Tag: gtk2
	summaryview.c mainwindow.c 
Log Message:
2012-12-03 [wwp]	3.9.0cvs40

	* src/summaryview.c
	* src/mainwindow.c
	Avoid any possible confusion: 0 is not a neutral value when passed
	to main_window_get_mask() - use -1 instead, even in those cases we
	don't care.

Index: summaryview.c
===================================================================
RCS file: /home/claws-mail/claws/src/summaryview.c,v
retrieving revision 1.395.2.460
retrieving revision 1.395.2.461
diff -u -d -r1.395.2.460 -r1.395.2.461
--- summaryview.c	30 Nov 2012 15:20:26 -0000	1.395.2.460
+++ summaryview.c	3 Dec 2012 10:11:35 -0000	1.395.2.461
@@ -1781,7 +1781,7 @@
 #ifndef GENERIC_UMPC
 	FILL_TABLE("Menus/SummaryViewPopup/Print", M_TARGET_EXIST);
 #endif
-	FILL_TABLE(NULL, 0);
+	FILL_TABLE(NULL, -1);
 #undef FILL_TABLE
 	if (i != N_ENTRIES)
 		g_error("summaryview menu entry table size mismatch (%d/%d)", i, N_ENTRIES);

Index: mainwindow.c
===================================================================
RCS file: /home/claws-mail/claws/src/mainwindow.c,v
retrieving revision 1.274.2.362
retrieving revision 1.274.2.363
diff -u -d -r1.274.2.362 -r1.274.2.363
--- mainwindow.c	30 Nov 2012 15:20:26 -0000	1.274.2.362
+++ mainwindow.c	3 Dec 2012 10:11:35 -0000	1.274.2.363
@@ -3396,7 +3396,7 @@
 	FILL_TABLE("Menu/Configuration/AccountPrefs", M_UNLOCKED);
 	FILL_TABLE("Menu/Configuration/CreateAccount", M_UNLOCKED);
 	FILL_TABLE("Menu/Configuration/EditAccounts", M_UNLOCKED);
-	FILL_TABLE(NULL, 0);
+	FILL_TABLE(NULL, -1);
 #undef FILL_TABLE
 	if (i > N_ENTRIES)
 		g_error("main window menu entry table overrun (%d/%d)", i, N_ENTRIES);



More information about the Commits mailing list