From 82da6aed345ae499e20f0ea18be0c8e135f4dda4 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 04 Nov 2017 18:27:40 -0400 Subject: about:profiles: Use g_strconcat() instead of g_strdup_printf() --- (limited to 'src') diff --git a/src/schemes/about/profiles.c b/src/schemes/about/profiles.c index e38396a..99f63fe 100644 --- a/src/schemes/about/profiles.c +++ b/src/schemes/about/profiles.c @@ -45,11 +45,11 @@ generate_div(MqProfiles *profiles, gchar *id) /* Freed by mq_html_container(). */ name = mq_profiles_get_name(profiles, id); - editing_str = g_strdup_printf("editing_%s", id); - name_str = g_strdup_printf("name_%s", id); - default_str = g_strdup_printf("default_%s", id); - delete_str = g_strdup_printf("delete_%s", id); - save_str = g_strdup_printf("save_%s", id); + editing_str = g_strconcat("editing_", id, NULL); + name_str = g_strconcat("name_", id, NULL); + default_str = g_strconcat("default_", id, NULL); + delete_str = g_strconcat("delete_", id, NULL); + save_str = g_strconcat("save_", id, NULL); div = mq_html_container("div", "profile", mq_html_input_radio("editing", editing_str, id, NULL, FALSE), -- cgit v0.9.1