From 765ece05ef2669d06015560be2acb319bcc96aa0 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 04 Nov 2017 23:17:57 -0400 Subject: mq_profiles_insert(): Replace disallowed characters with "_", not "-" --- (limited to 'src/config') diff --git a/src/config/profiles.c b/src/config/profiles.c index d006025..ae2639c 100644 --- a/src/config/profiles.c +++ b/src/config/profiles.c @@ -174,7 +174,7 @@ mq_profiles_insert(MqProfiles *profiles, const gchar *name, const gchar *color) id = g_strdelimit(g_strdup(name), "/\\:*\"?<>|" /* Lowest common denominator of modern FSes */ " \t\n\f\r", /* HTML5 "space characters" */ - '-'); + '_'); mq_profiles_set_name(profiles, id, name); mq_profiles_set_color(profiles, id, color); -- cgit v0.9.1