diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-11-04 23:17:57 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-11-04 23:17:57 (EDT) |
commit | 765ece05ef2669d06015560be2acb319bcc96aa0 (patch) | |
tree | 1d5f52ebab774936c6371af0e218243deae7733a /src/config | |
parent | 8743c15aa2b36fc853a9d9065075377bc40d7a8d (diff) | |
download | marquee-765ece05ef2669d06015560be2acb319bcc96aa0.zip marquee-765ece05ef2669d06015560be2acb319bcc96aa0.tar.gz marquee-765ece05ef2669d06015560be2acb319bcc96aa0.tar.bz2 |
mq_profiles_insert(): Replace disallowed characters with "_", not "-"
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/profiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |