initialize missing field, fixes spurious segfault (painting a non-level).
This commit is contained in:
parent
eabc4cd246
commit
cf8ee5425a
13
x11/kde/games3/patches/patch-ksokoban_PlayField_cpp
Normal file
13
x11/kde/games3/patches/patch-ksokoban_PlayField_cpp
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-ksokoban_PlayField_cpp,v 1.1 2004/09/20 08:00:53 espie Exp $
|
||||
--- ksokoban/PlayField.cpp.orig Mon Sep 20 09:56:34 2004
|
||||
+++ ksokoban/PlayField.cpp Mon Sep 20 09:56:51 2004
|
||||
@@ -47,7 +47,8 @@
|
||||
|
||||
PlayField::PlayField(QWidget *parent, const char *name, WFlags f)
|
||||
: QWidget(parent, name, f|WResizeNoErase), imageData_(0), lastLevel_(-1),
|
||||
- moveSequence_(0), moveInProgress_(false), xOffs_(0), yOffs_(0),
|
||||
+ moveSequence_(0), moveInProgress_(false), dragInProgress_(false),
|
||||
+ xOffs_(0), yOffs_(0),
|
||||
wheelDelta_(0),
|
||||
levelText_(i18n("Level:")), stepsText_(i18n("Steps:")),
|
||||
pushesText_(i18n("Pushes:")),
|
Loading…
Reference in New Issue
Block a user