r4987 - packages/trunk/hex-a-hop/debian/patches
Jens Seidel
jseidel-guest at alioth.debian.org
Mon Dec 17 14:03:48 UTC 2007
Author: jseidel-guest
Date: 2007-12-17 14:03:48 +0000 (Mon, 17 Dec 2007)
New Revision: 4987
Modified:
packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch
Log:
Refined patch fpr bug #443822
Modified: packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch
===================================================================
--- packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch 2007-12-17 09:54:55 UTC (rev 4986)
+++ packages/trunk/hex-a-hop/debian/patches/segfault_443822.patch 2007-12-17 14:03:48 UTC (rev 4987)
@@ -2,14 +2,16 @@
Index: hex-a-hop/hex_puzzzle.cpp
===================================================================
---- hex-a-hop.orig/hex_puzzzle.cpp 2007-12-17 10:33:15.000000000 +0100
-+++ hex-a-hop/hex_puzzzle.cpp 2007-12-17 10:33:15.000000000 +0100
-@@ -602,6 +602,8 @@
+--- hex-a-hop.orig/hex_puzzzle.cpp 2007-12-17 10:41:09.000000000 +0100
++++ hex-a-hop/hex_puzzzle.cpp 2007-12-17 15:04:22.000000000 +0100
+@@ -602,7 +602,10 @@
{
while (numStages > 0 && time[numStages-1] >= t)
numStages--;
+ if (currentStage > 0 && currentStage >= numStages)
+ currentStage = numStages - 1;
}
++ if (currentStage < 0) currentStage = 0;
}
void Wipe()
+ {
More information about the Pkg-games-commits
mailing list