projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Filter some more potential filename contents on Windows.
[libdcp.git]
/
src
/
name_format.cc
diff --git
a/src/name_format.cc
b/src/name_format.cc
index e5c6556e9ae9a6b43fbbb6f65288b2f7ec00bb73..dce0935bb2f92f673669b03c532a818106167182 100644
(file)
--- a/
src/name_format.cc
+++ b/
src/name_format.cc
@@
-55,6
+55,11
@@
filter (char c)
} else if (c == ' ') {
c = '_';
}
+#ifdef LIBDCP_WINDOWS
+ else if (c == '?' || c == '.') {
+ c = '_';
+ }
+#endif
return c;
}