summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCanek Peláez Valdés <canek@ciencias.unam.mx>2016-03-20 16:53:36 -0600
committerCanek Peláez Valdés <canek@ciencias.unam.mx>2016-03-20 16:53:36 -0600
commit8e27af8feeea71ed79c06c46a28b0e445cef46cb (patch)
tree59d5d8ccc94b7c45aebcd02eba4044dc39f176dc
parentd9c92556523a5732c70da1bfa16435916916fecd (diff)
downloadcolord-8e27af8feeea71ed79c06c46a28b0e445cef46cb.tar.gz
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);
}