From: Jürgen Spitzmüller Date: Tue, 23 Nov 2010 13:18:28 +0000 (+0000) Subject: PreviewLoader: use bufferFormat() here, even if this also relies on useXetex. X-Git-Tag: 2.0.0~1725 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=79514a3fcdc8727cc8f40fa594404e687d44c835;p=features.git 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 --- 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());