summaryrefslogtreecommitdiff
path: root/src/tag_editor.cpp
diff options
context:
space:
mode:
authorAndrzej Rybczak <electricityispower@gmail.com>2012-12-08 16:34:46 +0100
committerAndrzej Rybczak <electricityispower@gmail.com>2012-12-08 16:34:46 +0100
commit133554bfea16a737eac10ee1af00e37aa2fccc17 (patch)
tree3d2203f19ba37b823715b48c2852ca06dbf23ae8 /src/tag_editor.cpp
parenta6c843569ad0eb47d3d43a6508cda05aa04f597a (diff)
settings: new configuration variable: generate_win32_compatible_filenames
Diffstat (limited to 'src/tag_editor.cpp')
-rw-r--r--src/tag_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag_editor.cpp b/src/tag_editor.cpp
index 6ac1f049..bc3780d1 100644
--- a/src/tag_editor.cpp
+++ b/src/tag_editor.cpp
@@ -1099,7 +1099,7 @@ MPD::MutableSong::SetFunction IntoSetFunction(char c)
std::string GenerateFilename(const MPD::MutableSong &s, const std::string &pattern)
{
std::string result = s.toString(pattern, Config.tags_separator);
- removeInvalidCharsFromFilename(result);
+ removeInvalidCharsFromFilename(result, Config.generate_win32_compatible_filenames);
return result;
}