summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-03-21 06:24:02 +0000
committerRichard Hughes <richard@hughsie.com>2016-03-21 06:24:02 +0000
commit6949c2a1a62cd44e7e6c25e6db4a5a88d6ab5efd (patch)
tree59d5d8ccc94b7c45aebcd02eba4044dc39f176dc
parentd9c92556523a5732c70da1bfa16435916916fecd (diff)
parent8e27af8feeea71ed79c06c46a28b0e445cef46cb (diff)
downloadcolord-6949c2a1a62cd44e7e6c25e6db4a5a88d6ab5efd.tar.gz
Merge pull request #22 from canek-pelaez/master
session-helper: Replace '/' with '-' on the basename so creating the profile file doesn't fail.
-rw-r--r--contrib/session-helper/cd-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/session-helper/cd-main.c b/contrib/session-helper/cd-main.c
index a066662..8477edd 100644
--- a/contrib/session-helper/cd-main.c
+++ b/contrib/session-helper/cd-main.c
@@ -1599,7 +1599,7 @@ cd_main_set_basename (CdMainPrivate *priv)
g_string_set_size (str, str->len - 1);
/* make suitable filename */
- g_strdelimit (str->str, "\"*?", '_');
+ g_strdelimit (str->str, "/\"*?", '_');
priv->basename = g_string_free (str, FALSE);
}