|
From: Gustavo P. B. <gb...@us...> - 2005-07-03 02:47:29
|
Update of /cvsroot/kimageprocess/kimageprocess/src/plugins/fann In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19811 Modified Files: fann.cpp Log Message: Complementing my previous change Index: fann.cpp =================================================================== RCS file: /cvsroot/kimageprocess/kimageprocess/src/plugins/fann/fann.cpp,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- fann.cpp 3 Jul 2005 02:41:49 -0000 1.10 +++ fann.cpp 3 Jul 2005 02:47:19 -0000 1.11 @@ -143,7 +143,7 @@ } level = maxclass * colorStep; img->setPixel(x, y++, qRgb(level, level, level)); - if (x >= c_img->width()) + if (y >= c_img->height()) { y = 0; x++; |