mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-09 18:52:46 +00:00
Compile fix.
I forgot this in the previous commit. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35853 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f311377671
commit
6ba6d4120d
@ -132,7 +132,7 @@ Buffer * newFile(string const & filename, string const & templatename,
|
|||||||
tname = makeAbsPath(templatename);
|
tname = makeAbsPath(templatename);
|
||||||
|
|
||||||
if (!tname.empty()) {
|
if (!tname.empty()) {
|
||||||
if (b->readFile(tname) != Buffer::ReadSuccess) {
|
if (b->loadThisLyXFile(tname) != Buffer::ReadSuccess) {
|
||||||
docstring const file = makeDisplayPath(tname.absFileName(), 50);
|
docstring const file = makeDisplayPath(tname.absFileName(), 50);
|
||||||
docstring const text = bformat(
|
docstring const text = bformat(
|
||||||
_("The specified document template\n%1$s\ncould not be read."),
|
_("The specified document template\n%1$s\ncould not be read."),
|
||||||
|
Loading…
Reference in New Issue
Block a user