]> git.lyx.org Git - features.git/commitdiff
PreviewLoader: use bufferFormat() here, even if this also relies on useXetex.
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 23 Nov 2010 13:18:28 +0000 (13:18 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 23 Nov 2010 13:18:28 +0000 (13:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36446 a592a061-630c-0410-9148-cb99ea01b6c8

src/graphics/PreviewLoader.cpp

index 4ff60ca5e9c29035b903825f69eedd01907daecd..6423d485dbda5fdb355f2e53fde8f687987a4e98 100644 (file)
@@ -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());