[LyX/master] Reformat mangled filenames for (xhtml) export to have them sorted.
Pavel Sanda
sanda at lyx.org
Fri Jul 9 13:45:44 UTC 2021
commit 5dd96345ab10825139a2d7c39ba8b83ffd091e76
Author: Pavel Sanda <sanda at lyx.org>
Date: Fri Jul 9 14:32:36 2021 +0200
Reformat mangled filenames for (xhtml) export to have them sorted.
---
src/support/FileName.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/support/FileName.cpp b/src/support/FileName.cpp
index 69e0211..729e3d0 100644
--- a/src/support/FileName.cpp
+++ b/src/support/FileName.cpp
@@ -983,7 +983,7 @@ string DocFileName::mangledFileName(string const & dir, bool use_counter, bool e
#endif
hash = hash.toHex();
mname = fromqstr(QString(hash));
- mname = mname + "_" + onlyFileName();
+ mname = "export_" + onlyFileName() + "_" + mname;
}
// The mangled name must be a valid LaTeX name.
More information about the lyx-cvs
mailing list