summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-04 18:27:40 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-04 18:27:40 (EDT)
commit82da6aed345ae499e20f0ea18be0c8e135f4dda4 (patch)
treee375f14b5731604b6fa090fa78c9c387fdf547ce
parent240da985d61816abe3081a2151dd9ccb1fa1cd34 (diff)
downloadmarquee-82da6aed345ae499e20f0ea18be0c8e135f4dda4.zip
marquee-82da6aed345ae499e20f0ea18be0c8e135f4dda4.tar.gz
marquee-82da6aed345ae499e20f0ea18be0c8e135f4dda4.tar.bz2
about:profiles: Use g_strconcat() instead of g_strdup_printf()
-rw-r--r--src/schemes/about/profiles.c10
1 files changed, 5 insertions, 5 deletions
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),