[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/ksame
From:       Stephan Kulow <coolo () kde ! org>
Date:       2007-01-05 11:25:51
Message-ID: 1167996351.413570.31682.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 620131 by coolo:

fix warning


 M  +3 -2      board.cpp  


--- trunk/KDE/kdegames/ksame/board.cpp #620130:620131
@@ -283,10 +283,11 @@
 		if ( ( m_boardData[ map( i - 1, 0 ) ] ) || ( !m_boardData[ map( i, 0 ) ] ) )
 			continue;
 
+                int j;
 		QVector<quint8> columnData( m_height );
-		for ( int j = 0; j < m_height; ++j )
+		for ( j = 0; j < m_height; ++j )
 			columnData[ j ] = m_boardData[ map( i, j ) ];
-		int j = i - 1;
+		j = i - 1;
 		while ( ( j >= 0 ) && ( m_boardData[ map( j, 0 ) ] == 0 ) )
 		{
 			for ( int k = 0; k < m_height; ++k )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic