summaryrefslogtreecommitdiffstats
path: root/net-im/gaim-openq/files/patch-src-im.c
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 01:23:57 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 01:23:57 +0800
commit71b8934e32a67a5b445b0bcb08ca55f70d696841 (patch)
treeb1cf6d34c2185d1fc1874ef24048cf55776c80f3 /net-im/gaim-openq/files/patch-src-im.c
parent2084883ea11d55197ceac371510c1422e667d5a1 (diff)
downloadmarcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.gz
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.bz2
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.lz
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.xz
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.zst
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9356 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im/gaim-openq/files/patch-src-im.c')
-rw-r--r--net-im/gaim-openq/files/patch-src-im.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/net-im/gaim-openq/files/patch-src-im.c b/net-im/gaim-openq/files/patch-src-im.c
new file mode 100644
index 000000000..3855b2a64
--- /dev/null
+++ b/net-im/gaim-openq/files/patch-src-im.c
@@ -0,0 +1,28 @@
+--- src/im.c.orig Sat Oct 2 17:48:11 2004
++++ src/im.c Sat Oct 16 18:06:57 2004
+@@ -435,6 +435,8 @@
+ gchar *font_size = NULL, *font_color = NULL, *font_name = NULL, *tmp;
+ gboolean is_bold = FALSE, is_italic = FALSE, is_underline = FALSE;
+ const gchar *start, *end, *last;
++ guint font_name_len, tail_len;
++ guint8 *send_im_tail;
+
+ g_return_if_fail(gc != NULL && gc->proto_data != NULL);
+
+@@ -488,7 +490,6 @@
+ now = time(NULL);
+ md5 = _gen_session_md5(qd->uid, qd->session_key);
+
+- guint font_name_len, tail_len;
+ font_name_len = (font_name) ? strlen(font_name) : DEFAULT_FONT_NAME_LEN;
+ tail_len = font_name_len + QQ_SEND_IM_AFTER_MSG_HEADER_LEN + 1;
+
+@@ -530,7 +531,7 @@
+ bytes += create_packet_b(raw_data, &cursor, type);
+ //053- : msg ends with 0x00
+ bytes += create_packet_data(raw_data, &cursor, msg_filtered, msg_len);
+- guint8 *send_im_tail = qq_get_send_im_tail(font_color, font_size, font_name, is_bold,
++ send_im_tail = qq_get_send_im_tail(font_color, font_size, font_name, is_bold,
+ is_italic, is_underline, tail_len);
+ _qq_show_packet("QQ_MESG debug", send_im_tail, tail_len);
+ bytes += create_packet_data(raw_data, &cursor, (gchar *) send_im_tail, tail_len);