summaryrefslogtreecommitdiff
path: root/irc/xchat-systray-plugin/files/patch-src-systray.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc/xchat-systray-plugin/files/patch-src-systray.c')
-rw-r--r--irc/xchat-systray-plugin/files/patch-src-systray.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/irc/xchat-systray-plugin/files/patch-src-systray.c b/irc/xchat-systray-plugin/files/patch-src-systray.c
deleted file mode 100644
index a7566af9dd78..000000000000
--- a/irc/xchat-systray-plugin/files/patch-src-systray.c
+++ /dev/null
@@ -1,33 +0,0 @@
---- src/systray.c.orig Fri Apr 30 14:38:10 2004
-+++ src/systray.c Sun May 2 01:02:59 2004
-@@ -117,16 +117,18 @@
- edit=TRUE;
- go_change=TRUE;
- go_identify=TRUE;
-- strcpy(imagepath,xchat_get_info(ph, "xchatdir"));
-+ strcpy(imagepath,"%%LOCALBASE%%/lib/xchat/plugins");
-
- }
- // events handling
- void tray_init_xchat(void)
- {
-- initialize_shared_vars();
-- //show warning if version is too old
- const char *str;
- int i;
-+
-+ initialize_shared_vars();
-+
-+ //show warning if version is too old
- if (xchat_get_prefs (ph, "away_size_max", &str, &i) == 0)
- version_warning();
-
-@@ -191,7 +193,7 @@
- if (filename && type)
- {
- if (imagepath) sprintf(temp,"%s/%s/%s", imagepath ,type,filename);
-- else sprintf(temp,"%s/%s/%s", xchat_get_info(ph, "xchatdir"),type,filename);
-+ else sprintf(temp,"%s/%s/%s", "%%LOCALBASE%%/lib/xchat/plugins",type,filename);
- #ifdef _WIN32_
- tempbuffer= ((HICON)LoadImage( tray_inst, temp, IMAGE_ICON, 16, 16, LR_LOADFROMFILE ));
- #else