projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee23179
)
Filter some more potential filename contents on Windows.
v1.8.35
author
Carl Hetherington
<cth@carlh.net>
Sat, 3 Dec 2022 22:20:18 +0000
(23:20 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 3 Dec 2022 23:39:15 +0000
(
00:39
+0100)
src/name_format.cc
patch
|
blob
|
history
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;
}