mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix bug #11490
Correctly add the branch name suffix when the stem
of the filename contains a dot.
(cherry picked from commit c3b9504835
)
This commit is contained in:
parent
33023e6811
commit
98a792c9fd
@ -824,10 +824,9 @@ FileName Buffer::Impl::exportFileName() const
|
||||
if (branch_suffix.empty())
|
||||
return filename;
|
||||
|
||||
string const name = filename.onlyFileNameWithoutExt()
|
||||
+ to_utf8(branch_suffix);
|
||||
string const name = addExtension(filename.onlyFileNameWithoutExt()
|
||||
+ to_utf8(branch_suffix), filename.extension());
|
||||
FileName res(filename.onlyPath().absFileName() + "/" + name);
|
||||
res.changeExtension(filename.extension());
|
||||
|
||||
return res;
|
||||
}
|
||||
|
@ -97,6 +97,9 @@ What's new
|
||||
- Fix LaTeX error caused by Control key shortcut inset on the Mac (remainder
|
||||
of bug 10641).
|
||||
|
||||
- Correctly add the branch name suffix when the stem of the filename
|
||||
contains a dot (bug 11490).
|
||||
|
||||
|
||||
* USER INTERFACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user