summaryrefslogtreecommitdiff
path: root/finch/gntconv.c
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2021-01-13 04:35:22 -0600
committerArkadiy Illarionov <qarkai@gmail.com>2021-01-13 04:35:22 -0600
commit531e26aa8c1aaa7fe71150a6ca2539fafc303a5f (patch)
treeee02926cc94e5239df2ff7710b3b2bb7f8f73911 /finch/gntconv.c
parente6ca81a6c1615c1b053c16c1fda73de9f19d72aa (diff)
downloadpidgin-531e26aa8c1aaa7fe71150a6ca2539fafc303a5f.tar.gz
Replace g_strdup_printf("%s", string) with g_strdup(string)
Reduce duplication after replacing where applicable. Reviewed at https://reviews.imfreedom.org/r/420/
Diffstat (limited to 'finch/gntconv.c')
-rw-r--r--finch/gntconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/finch/gntconv.c b/finch/gntconv.c
index 5b8602f2fc..282e01a24e 100644
--- a/finch/gntconv.c
+++ b/finch/gntconv.c
@@ -920,7 +920,7 @@ finch_write_conv(PurpleConversation *conv, PurpleMessage *msg)
msgflags = gnt_color_pair(color_message_action);
me = TRUE;
} else {
- name = g_strdup_printf("%s", purple_message_get_author_alias(msg));
+ name = g_strdup(purple_message_get_author_alias(msg));
if (flags & PURPLE_MESSAGE_SEND)
msgflags = gnt_color_pair(color_message_send);
else if (flags & PURPLE_MESSAGE_NICK)