diff options
author | Canek Peláez Valdés <canek@ciencias.unam.mx> | 2016-03-20 16:53:36 -0600 |
---|---|---|
committer | Canek Peláez Valdés <canek@ciencias.unam.mx> | 2016-03-20 16:53:36 -0600 |
commit | 8e27af8feeea71ed79c06c46a28b0e445cef46cb (patch) | |
tree | 59d5d8ccc94b7c45aebcd02eba4044dc39f176dc | |
parent | d9c92556523a5732c70da1bfa16435916916fecd (diff) | |
download | colord-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.c | 2 |
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); } |