From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyKar-0005PY-St for guix-patches@gnu.org; Wed, 12 Apr 2017 11:54:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyKao-0007PF-Uj for guix-patches@gnu.org; Wed, 12 Apr 2017 11:54:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46372) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cyKao-0007P1-QM for guix-patches@gnu.org; Wed, 12 Apr 2017 11:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cyKao-0005CT-Jn for guix-patches@gnu.org; Wed, 12 Apr 2017 11:54:02 -0400 Subject: bug#26460: [PATCH 2/2] gnu: Add kiki. Resent-Message-ID: Date: Wed, 12 Apr 2017 11:53:54 -0400 From: Leo Famulari Message-ID: <20170412155354.GB8834@jasmine> References: <20170412093352.27487-1-rekado@elephly.net> <20170412093352.27487-2-rekado@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170412093352.27487-2-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 26460@debbugs.gnu.org On Wed, Apr 12, 2017 at 11:33:52AM +0200, Ricardo Wurmus wrote: > --- /dev/null > +++ b/gnu/packages/patches/kiki-level-selection-crash.patch > @@ -0,0 +1,19 @@ > +Downloaded from https://anonscm.debian.org/viewvc/pkg-games/packages/trunk/kiki-the-nano-bot/debian/patches/level-selection-with-no-levels-solved.patch?revision=8291&view=co > + > +Kiki crashes if the user tries to use the level selection menu before > +finishing any level. > + > +Peter De Wachter (pdewacht@gmail.com) > +placed in the public domain > + > +--- a/py/levelselection.py > ++++ b/py/levelselection.py > +@@ -25,6 +25,8 @@ > + # ............................................................................................................ > + > + last_level = highscore.getLastAvailableLevel() > ++ if last_level < 0: > ++ last_level = 0 Yikes :)