]> git.pld-linux.org Git - packages/xchat.git/blob - xchat-fix-default-replace.patch
- activation patch1
[packages/xchat.git] / xchat-fix-default-replace.patch
1 --- xchat-1.8.8/src/common/xchat.c      Tue Feb 12 03:39:15 2002
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 @@
15         "NAME Clear\n"                          "CMD /clear\n\n")
16  
17  #define defaultconf_replace \
18 -       "NAME teh\n"                            "CMD the\n\n"\
19 -       "NAME r\n"                                      "CMD are\n\n"\
20 -       "NAME u\n"                                      "CMD you\n\n"
21 +             " \n"             " \n"\
22  
23  #define defaultconf_commands \
24     "NAME ACTION\n"             "CMD /me &2\n\n"\
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.422458 seconds and 3 git commands to generate.