From 79514a3fcdc8727cc8f40fa594404e687d44c835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 23 Nov 2010 13:18:28 +0000 Subject: [PATCH] PreviewLoader: use bufferFormat() here, even if this also relies on useXetex. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36446 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/graphics/PreviewLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/graphics/PreviewLoader.cpp b/src/graphics/PreviewLoader.cpp index 4ff60ca5e9..6423d485db 100644 --- a/src/graphics/PreviewLoader.cpp +++ b/src/graphics/PreviewLoader.cpp @@ -600,7 +600,7 @@ void PreviewLoader::Impl::startLoading(bool wait) << int(font_scaling_factor) << ' ' << theApp()->hexName(fg) << ' ' << theApp()->hexName(bg); - if (buffer_.params().useXetex) + if (buffer_.bufferFormat() == "xetex") cs << " xelatex"; string const command = libScriptSearch(cs.str());