]> git.pld-linux.org Git - packages/xchat.git/commitdiff
- some bugfixes from original site
authordeejay1 <deejay1@pld-linux.org>
Wed, 16 Jul 2003 12:59:56 +0000 (12:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    xchat-contrib.patch -> 1.1

xchat-contrib.patch [new file with mode: 0644]

diff --git a/xchat-contrib.patch b/xchat-contrib.patch
new file mode 100644 (file)
index 0000000..dc14cb5
--- /dev/null
@@ -0,0 +1,33 @@
+--- xchat-2.0.3/src/common/dcc.c       2003-06-16 22:54:37.000000000 +1000
++++ xchat-2.0.3p1/src/common/dcc.c     2003-07-07 19:04:48.000000000 +1000
+@@ -129,7 +129,7 @@
+       if (dcc->type == TYPE_SEND)
+       {
+               /* carefull to avoid 32bit overflow */
+-              pos = dcc->pos + ((dcc->pos - dcc->ack) / 2);
++              pos = dcc->pos - ((dcc->pos - dcc->ack) / 2);
+               glob_throttle_bit = 0x1;
+               cpssum = &dcc_sendcpssum;
+               glob_limit = prefs.dcc_global_max_send_cps;
+--- xchat-2.0.3/src/fe-gtk/xtext.c     18 Jun 2003 08:01:23 -0000
++++ xchat-2.0.3p1/src/fe-gtk/xtext.c   29 Jun 2003 11:38:04 -0000
+@@ -910,6 +910,9 @@
+       xtext_set_bg (xtext, xtext->fgc, 19);
+       xtext_set_fg (xtext, xtext->bgc, 19);
++      /* draw directly to window */
++      xtext->draw_buf = widget->window;
++
+ #if defined(USE_XLIB) || defined(WIN32)
+       if (xtext->transparent)
+       {
+@@ -930,9 +933,6 @@
+ #endif
+       gdk_window_set_back_pixmap (widget->window, NULL, FALSE);
+-
+-      /* draw directly to window */
+-      xtext->draw_buf = widget->window;
+       backend_init (xtext);
+ }
This page took 0.150762 seconds and 4 git commands to generate.