diff options
author | Arkadiy Illarionov <qarkai@gmail.com> | 2021-01-13 04:35:22 -0600 |
---|---|---|
committer | Arkadiy Illarionov <qarkai@gmail.com> | 2021-01-13 04:35:22 -0600 |
commit | 531e26aa8c1aaa7fe71150a6ca2539fafc303a5f (patch) | |
tree | ee02926cc94e5239df2ff7710b3b2bb7f8f73911 /finch/gntconv.c | |
parent | e6ca81a6c1615c1b053c16c1fda73de9f19d72aa (diff) | |
download | pidgin-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.c | 2 |
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) |