[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdewebdev/quanta/components/tableeditor
From: Andras Mantia <amantia () kde ! org>
Date: 2006-04-22 18:20:08
Message-ID: 1145730008.905643.16201.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 532770 by amantia:
Fixed "suspicious code": use && instead of &.
M +2 -2 tableeditor.cpp
--- branches/KDE/3.5/kdewebdev/quanta/components/tableeditor/tableeditor.cpp #532769:532770
@@ -489,7 +489,7 @@
{
bool ok;
colValue = colspanValue.toInt(&ok, 10);
- if (ok & colValue > 1)
+ if (ok && colValue > 1)
{
nCol += (colValue - 1);
if (m_colSpin->value() < nCol)
@@ -515,7 +515,7 @@
{
bool ok;
int rowValue = rowspanValue.toInt(&ok, 10);
- if (ok & rowValue > 1)
+ if (ok && rowValue > 1)
{
lastCol--;
// Check if there are enough columns in mergeMatriz
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic