]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetGraphics.cpp
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
[lyx.git] / src / insets / InsetGraphics.cpp
index 301382b9f5241a3f2587188db9e3a3c510318422..31b6c181f314ed416e92c72d3c671d406f898444 100644 (file)
@@ -589,17 +589,17 @@ string InsetGraphics::prepareFile(OutputParams const & runparams) const
                params().filename.outputFileName(masterBuffer->filePath()) :
                onlyFileName(temp_file.absFileName());
 
-       if (runparams.nice ) {
+       if (runparams.nice) {
                if (!isValidLaTeXFileName(output_file)) {
                        frontend::Alert::warning(_("Invalid filename"),
-                                        _("The following filename will cause troubles "
-                                              "when running the exported file through LaTeX: ") +
-                                            from_utf8(output_file));
+                               _("The following filename will cause troubles "
+                                 "when running the exported file through LaTeX: ") +
+                               from_utf8(output_file));
                }
                // only show DVI-specific warning when export format is plain latex
                if (!isValidDVIFileName(output_file)
                        && runparams.flavor == OutputParams::LATEX) {
-                       frontend::Alert::warning(_("Problematic filename for DVI"),
+                               frontend::Alert::warning(_("Problematic filename for DVI"),
                                         _("The following filename can cause troubles "
                                               "when running the exported file through LaTeX "
                                                   "and opening the resulting DVI: ") +