[Kde-games-devel] Re: Small KBounce bug

Albert Astals Cid kde-games-devel@mail.kde.org
Fri, 24 Jan 2003 22:40:19 +0100


Ok here is the diff for kbounce.cpp (obtained it using cvs diff)

Index: kbounce.cpp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/kde/kdegames/kbounce/kbounce.cpp,v
retrieving revision 1.7
diff -r1.7 kbounce.cpp
124c124
<     KStdGameAction::pause(this, SLOT(pauseGame()), actionCollection());
---
>     m_pauseButton =3D KStdGameAction::pause(this, SLOT(pauseGame()),=20
actionCollection());
143a144,146
> =09// untoggles the pause button in case it was toggled
> =09m_pauseButton -> setChecked(false);
>


And this is for kbounce.h

Index: kbounce.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/kde/kdegames/kbounce/kbounce.h,v
retrieving revision 1.2
diff -r1.2 kbounce.h
22a23
> #include <kaction.h>
72a74
>    KToggleAction *m_pauseButton;

I have tested the diffs using $patch original.cpp my_diff and they do wha=
t=20
they should do. I've also compiled the game with the modified files and i=
t=20
works.

Also, is there a current mantainer for KBounce?

P.S: I did a .tar.bz2 because i didn't know how to attach 2 files to the =
same=20
comment.