From kde-commits Sun Jan 20 10:23:18 2008 From: =?utf-8?q?Jesper=20Thomsch=C3=BCtz?= Date: Sun, 20 Jan 2008 10:23:18 +0000 To: kde-commits Subject: extragear/plasma/applets/fifteenPuzzle/src Message-Id: <1200824598.761967.27864.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120082460610962 SVN commit 763726 by jesperht: Fix for images not being split correctly. Patch by Anthony Bryant. BUGCC:155912 M +1 -1 fifteen.cpp --- trunk/extragear/plasma/applets/fifteenPuzzle/src/fifteen.cpp #763725:763726 @@ -166,7 +166,7 @@ for (int i=1; i < 16; ++i) { - if (i%4 == 0 && i != 0) + if ((i-1)%4 == 0 && i != 1) { x = 0; y = y + SIZE;