diff options
author | Richard Hughes <richard@hughsie.com> | 2016-03-21 06:24:02 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-03-21 06:24:02 +0000 |
commit | 6949c2a1a62cd44e7e6c25e6db4a5a88d6ab5efd (patch) | |
tree | 59d5d8ccc94b7c45aebcd02eba4044dc39f176dc | |
parent | d9c92556523a5732c70da1bfa16435916916fecd (diff) | |
parent | 8e27af8feeea71ed79c06c46a28b0e445cef46cb (diff) | |
download | colord-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.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); } |