[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-cvs
Subject:    [LyX/master] Reformat mangled filenames for (xhtml) export to have them sorted.
From:       Pavel Sanda <sanda () lyx ! org>
Date:       2021-07-09 13:45:44
Message-ID: 20210709134544.8D17A28016C () lyx ! lyx ! org
[Download RAW message or body]

commit 5dd96345ab10825139a2d7c39ba8b83ffd091e76
Author: Pavel Sanda <sanda@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.
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic