From: Richard Heck Date: Thu, 10 May 2012 19:44:25 +0000 (-0400) Subject: Whitespace. X-Git-Tag: 2.1.0beta1~1880 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f2fc334cd58b45cfa848d12f33cac71bdd0d6249;p=features.git Whitespace. --- diff --git a/src/frontends/qt4/GuiViewSource.cpp b/src/frontends/qt4/GuiViewSource.cpp index 17ba47f836..286055c407 100644 --- a/src/frontends/qt4/GuiViewSource.cpp +++ b/src/frontends/qt4/GuiViewSource.cpp @@ -207,8 +207,9 @@ void ViewSourceWidget::updateDefaultFormat() Format const * fmt = formats.getFormat(format); if (!fmt) { LYXERR0("Can't find format for backend " << format << "!"); - continue; - } else if (fmt->name() == "lyx") + continue; + } + if (fmt->name() == "lyx") // we can't presently display the LyX format itself continue;