From 1fa4a000e7e1855e1d99bd6fbbb8067df8e90839 Mon Sep 17 00:00:00 2001 From: TingPing Date: Wed, 31 Dec 2014 10:24:51 -0500 Subject: Fix some unused warnings --- src/common/plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/plugin.c') diff --git a/src/common/plugin.c b/src/common/plugin.c index bdb11bb8..1cc393ea 100644 --- a/src/common/plugin.c +++ b/src/common/plugin.c @@ -1557,7 +1557,7 @@ hexchat_list_int (hexchat_plugin *ph, hexchat_list *xlist, const char *name) case 0x5cfee87: /* flags */ /* used if text_strip is unset */ /* 16 */ tmp <<= 1; - tmp = ((struct session *)data)->text_strip; /* 15 */ + tmp |= ((struct session *)data)->text_strip; /* 15 */ tmp <<= 1; /* used if text_scrollback is unset */ /* 14 */ tmp <<= 1; -- cgit 1.4.1