X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiSymbols.cpp;h=6bd5ba210a4bf1f9fcbed1c4751b482422dd8749;hb=425d092204118ea6c24c28e85fdf03fcf2bb51a4;hp=917da95a9b4feb47c1e25c87af767373c0d41664;hpb=1fc477efac5fd3804c6407a03791e713f643fc43;p=lyx.git diff --git a/src/frontends/qt4/GuiSymbols.cpp b/src/frontends/qt4/GuiSymbols.cpp index 917da95a9b..6bd5ba210a 100644 --- a/src/frontends/qt4/GuiSymbols.cpp +++ b/src/frontends/qt4/GuiSymbols.cpp @@ -3,7 +3,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author Jürgen Spitzmüller + * \author Jürgen Spitzmüller * * Full author contact details are available in file CREDITS. */ @@ -31,6 +31,8 @@ #include #include +#include + using namespace std; namespace lyx { @@ -432,7 +434,7 @@ void GuiSymbols::updateSymbolList(bool update_combo) if (cat == QChar::Other_Control || cat == QChar::Separator_Space) continue; ++numItem; - if (show_all || c >= range_start && c <= range_end) + if (show_all || (c >= range_start && c <= range_end)) s.append(c); if (update_combo) { QString block = getBlock(c);