From 51f8ba9d3583fd3294be3328b5c4dc8fed569cae Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Wed, 6 Jun 2018 13:55:59 -0400 Subject: [PATCH] Fix up 3847e0ef7. --- src/frontends/qt4/GuiDocument.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index ba6963c402..70d6d617f3 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -567,7 +567,7 @@ void PreambleModule::editExternal() { string const format = current_id_->params().documentClass().outputFormat(); string const ext = theFormats().extension(format); - tempfile_.reset(new TempFile("preamble_editXXXXXX" + ext)); + tempfile_.reset(new TempFile("preamble_editXXXXXX." + ext)); FileName const tempfilename = tempfile_->name(); string const name = tempfilename.toFilesystemEncoding(); ofdocstream os(name.c_str()); @@ -737,7 +737,7 @@ void LocalLayout::editExternal() { string const format = current_id_->params().documentClass().outputFormat(); string const ext = theFormats().extension(format); - tempfile_.reset(new TempFile("preamble_editXXXXXX" + ext)); + tempfile_.reset(new TempFile("preamble_editXXXXXX." + ext)); FileName const tempfilename = tempfile_->name(); string const name = tempfilename.toFilesystemEncoding(); ofdocstream os(name.c_str()); -- 2.39.2