mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-22 17:22:18 -05:00
remove explicit zeros since unlisted variables default to zero
This commit is contained in:
parent
df3a27519e
commit
560a824bce
@ -75,7 +75,7 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/plugins/tcl/tclplugin.c xchat-wdk/p
|
|||||||
#include "xchat-plugin.h"
|
#include "xchat-plugin.h"
|
||||||
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/cfgfiles.c xchat-wdk/src/common/cfgfiles.c
|
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/cfgfiles.c xchat-wdk/src/common/cfgfiles.c
|
||||||
--- xchat-wdk.orig/src/common/cfgfiles.c 2009-01-02 06:56:12 +0100
|
--- xchat-wdk.orig/src/common/cfgfiles.c 2009-01-02 06:56:12 +0100
|
||||||
+++ xchat-wdk/src/common/cfgfiles.c 2010-05-23 01:37:33 +0200
|
+++ xchat-wdk/src/common/cfgfiles.c 2010-05-26 04:09:02 +0200
|
||||||
@@ -17,7 +17,6 @@
|
@@ -17,7 +17,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -113,19 +113,15 @@ diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/cfgfiles.c xchat-wdk/src
|
|||||||
}
|
}
|
||||||
return xdir_fs;
|
return xdir_fs;
|
||||||
}
|
}
|
||||||
@@ -676,7 +683,12 @@
|
@@ -676,6 +683,8 @@
|
||||||
prefs.mainwindow_save = 1;
|
prefs.mainwindow_save = 1;
|
||||||
prefs.bantype = 2;
|
prefs.bantype = 2;
|
||||||
prefs.input_balloon_time = 20;
|
prefs.input_balloon_time = 20;
|
||||||
+ /* taskbar alerts crash xchat-wdk only on x86 */
|
+ /* taskbar alerts crash xchat-wdk only on x86 */
|
||||||
+#ifdef _WIN64
|
+#ifdef _WIN64
|
||||||
prefs.input_flash_priv = prefs.input_flash_hilight = 1;
|
prefs.input_flash_priv = prefs.input_flash_hilight = 1;
|
||||||
+#else
|
|
||||||
+ prefs.input_flash_priv = prefs.input_flash_hilight = prefs.input_flash_chans = 0;
|
|
||||||
+#endif
|
|
||||||
prefs.input_tray_priv = prefs.input_tray_hilight = 1;
|
prefs.input_tray_priv = prefs.input_tray_hilight = 1;
|
||||||
prefs.autodccsend = 2; /* browse mode */
|
prefs.autodccsend = 2; /* browse mode */
|
||||||
#ifdef WIN32
|
|
||||||
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/chanopt.c xchat-wdk/src/common/chanopt.c
|
diff -ruN --strip-trailing-cr xchat-wdk.orig/src/common/chanopt.c xchat-wdk/src/common/chanopt.c
|
||||||
--- xchat-wdk.orig/src/common/chanopt.c 2008-06-15 06:40:29 +0200
|
--- xchat-wdk.orig/src/common/chanopt.c 2008-06-15 06:40:29 +0200
|
||||||
+++ xchat-wdk/src/common/chanopt.c 2010-05-21 21:42:51 +0200
|
+++ xchat-wdk/src/common/chanopt.c 2010-05-21 21:42:51 +0200
|
||||||
|
Loading…
Reference in New Issue
Block a user