From 1112a1737281be166164ba14ee805aa1221ba38d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Uwe=20St=C3=B6hr?= Date: Fri, 10 May 2013 13:13:20 +0200 Subject: [PATCH] GuiMathMatrix.cpp: fix a compiler warning --- src/frontends/qt4/GuiMathMatrix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiMathMatrix.cpp b/src/frontends/qt4/GuiMathMatrix.cpp index 932ef71d8e..8cc8089d09 100644 --- a/src/frontends/qt4/GuiMathMatrix.cpp +++ b/src/frontends/qt4/GuiMathMatrix.cpp @@ -125,7 +125,7 @@ void GuiMathMatrix::slotOK() } // only if a special alignment is set create a 1x1 AMS array in which // a normal array will be created, otherwise create just a normal AMS array - if (sh.contains('l') > 0 || sh.contains('r') > 0) { + if (sh.contains('l') || sh.contains('r')) { string const str_ams = fromqstr( QString("%1 %2 %3").arg(int(1)).arg(int(1)).arg(deco_name)); dispatch(FuncRequest(LFUN_MATH_AMS_MATRIX, str_ams));