From kde-commits Tue Jan 06 08:37:57 2009 From: Stephan Kulow Date: Tue, 06 Jan 2009 08:37:57 +0000 To: kde-commits Subject: KDE/kdegames/kpat/patsolve Message-Id: <1231231077.066644.14864.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=123123108531142 SVN commit 906421 by coolo: avoid a mismatch between solver and game rules BUG: 178972 M +2 -0 fortyeight.cpp --- trunk/KDE/kdegames/kpat/patsolve/fortyeight.cpp #906420:906421 @@ -339,6 +339,8 @@ if ( !Wlen[to] ) moves = 1 << ( freestores - 1 ); + moves = 1; // for now to avoid #178972 for 4.2 + if ( moves >= Wlen[w] ) moves = Wlen[w];