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;
}
- 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