Package list pangzero / a1ab071
Add fix-pause-crash.patch and fix the broken pause feature. Closes: #857474 Thanks: Andrej Mernik for the report. Markus Koschany 4 years ago
2 changed file(s) with 23 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Markus Koschany <apo@debian.org>
1 Date: Mon, 13 Mar 2017 08:55:15 +0100
2 Subject: fix pause crash
3
4 Forwarded: https://github.com/kthakore/pangzero/issues/5
5 Bug-Debian: https://bugs.debian.org/857474
6 ---
7 lib/Games/PangZero.pm | 1 -
8 1 file changed, 1 deletion(-)
9
10 diff --git a/lib/Games/PangZero.pm b/lib/Games/PangZero.pm
11 index e9e4dd6..7015fec 100644
12 --- a/lib/Games/PangZero.pm
13 +++ b/lib/Games/PangZero.pm
14 @@ -165,7 +165,6 @@ sub Pause {
15
16 SDL::Video::blit_surface($pausedSurface, SDL::Rect->new(0, 0, $pausedSurface->w, $pausedSurface->h),
17 $App, SDL::Rect->new(($PhysicalScreenWidth - $pausedSurface->w) / 2, $PhysicalScreenHeight / 2 - 100, 0, 0));
18 - $App->sync();
19 $Keys = ();
20 $Events = ();
21 while (1) { # Paused, wait for keypress
00 10_nowebpage.patch
11 unescaped-left-brace-in-regex.patch
2 fix-pause-crash.patch