blob: c6f83b8ea378978766feffb30836b71d5b94425e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- Telegram/SourceFiles/export/data/export_data_types.cpp.orig 2019-09-06 13:41:43 UTC
+++ Telegram/SourceFiles/export/data/export_data_types.cpp
@@ -362,9 +362,9 @@ QString CleanDocumentName(QString name) {
'|',
#elif defined Q_OS_MAC // Q_OS_WIN
':',
-#elif defined Q_OS_LINUX // Q_OS_WIN || Q_OS_MAC
+#elif defined Q_OS_LINUX || defined Q_OS_FREEBSD // Q_OS_WIN || Q_OS_MAC
'/',
-#endif // Q_OS_WIN || Q_OS_MAC || Q_OS_LINUX
+#endif // Q_OS_WIN || Q_OS_MAC || Q_OS_LINUX || Q_OS_FREEBSD
};
for (const auto ch : controls) {
name = std::move(name).replace(ch, '_');
|