]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewLoader.C
Make enter button work in GTK text dialog
[lyx.git] / src / graphics / PreviewLoader.C
index ddedc11b2c9b43a162fcfdf0d1a1b37b43f32c6e..21576caeebb0058149be0a5e979a647a42b6cca6 100644 (file)
@@ -498,7 +498,8 @@ void PreviewLoader::Impl::startLoading()
        // The conversion command.
        ostringstream cs;
        cs << pconverter_->command << ' ' << pconverter_->to << ' '
-          << latexfile << ' ' << int(font_scaling_factor_) << ' '
+          << support::QuoteName(latexfile) << ' ' 
+          << int(font_scaling_factor_) << ' '
           << lyx_gui::hexname(LColor::preview) << ' '
           << lyx_gui::hexname(LColor::background);