Change an assignment-in-an-if to a comparison.
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 18 Apr 2008 12:42:27 +0000 (12:42 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 18 Apr 2008 12:42:27 +0000 (12:42 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25112 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/main_welcome.c

index 6b07c9f042787438d81180a4284e4d9930da5455..a416f4a9e2436b1a401904bfddb38afa90ccd59c 100644 (file)
@@ -169,7 +169,7 @@ welcome_header_new(void)
     icon = xpm_to_widget_from_parent(top_level, wssplash_xpm);
     gtk_box_pack_start(GTK_BOX(item_hb), icon, FALSE, FALSE, 10);
 
-    if ((now->tm_mon == 3 && now->tm_mday == 1) || (now->tm_mon = 6 && now->tm_mday == 14)) {
+    if ((now->tm_mon == 3 && now->tm_mday == 1) || (now->tm_mon == 6 && now->tm_mday == 14)) {
         message = "<span weight=\"bold\" size=\"x-large\">" "Sniffing the glue that holds the Internet together" "</span>";
     } else {
         message = "<span weight=\"bold\" size=\"x-large\">" "The World's Most Popular Network Protocol Analyzer" "</span>";