]> git.pld-linux.org Git - packages/xchat.git/blame - xchat-fix-default-replace.patch
TIA
[packages/xchat.git] / xchat-fix-default-replace.patch
CommitLineData
fed138e5 1--- xchat-1.8.8/src/common/xchat.c Tue Feb 12 03:39:15 2002
45cd16f8 2+++ xchat-1.8.8/src/common/xchat.orig Fri Mar 15 19:00:40 2002
3@@ -112,8 +112,8 @@
4
5 fe_add_rawlog (serv, tbuf, TRUE);
6
7- if (!EMIT_SIGNAL (XP_IF_SEND, GINT_TO_POINTER (serv->sok), tbuf,
8- GINT_TO_POINTER (len), NULL, NULL, 0))
9+ if (!EMIT_SIGNAL (XP_IF_SEND, (void *) serv->sok, tbuf, (void *)len,
10+ NULL, NULL, 0))
11 {
12 #ifdef USE_OPENSSL
13 if (!serv->ssl)
14@@ -912,9 +912,7 @@
fed138e5 15 "NAME Clear\n" "CMD /clear\n\n")
16
45cd16f8 17 #define defaultconf_replace \
fed138e5 18- "NAME teh\n" "CMD the\n\n"\
19- "NAME r\n" "CMD are\n\n"\
20- "NAME u\n" "CMD you\n\n"
45cd16f8 21+ " \n" " \n"\
eebccaf2 22
fed138e5 23 #define defaultconf_commands \
24 "NAME ACTION\n" "CMD /me &2\n\n"\
45cd16f8 25@@ -974,6 +972,7 @@
26
27 #ifdef WIN32
28 #define defaultconf_urlhandlers \
29+ "NAME Open URL\n" "CMD !start %s\n\n"\
30 "NAME Connect as IRC server\n" "CMD /newserver %s\n\n"
31 #else
32 #define defaultconf_urlhandlers _( \
33@@ -1106,7 +1105,7 @@
34 if (pid != -1)
35 /* zombie avoiding system. Don't ask! it has to be like this to work
36 with zvt (which overrides the default handler) */
37- fe_timeout_add (1000, child_handler, GINT_TO_POINTER (pid));
38+ fe_timeout_add (1000, child_handler, (void *)pid);
39 #endif
40 }
41
This page took 0.067046 seconds and 4 git commands to generate.