summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game.c6
-rw-r--r--history.h5
2 files changed, 7 insertions, 4 deletions
diff --git a/game.c b/game.c
index 3e59ea5..19c8959 100644
--- a/game.c
+++ b/game.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: game.c 22 2006-04-24 23:26:30Z tom $
+ * $Id: game.c 85 2007-06-20 16:14:45Z tom $
*/
#include "game.h"
@@ -82,8 +82,8 @@ void SpiderGame::Show()
osd = cOsdProvider::NewOsd(0, 0);
if (osd)
{
- tArea areas[] = { xPos, yPos, xPos + width - 1, yPos + height - 1, 4 };
- osd->SetAreas(areas, 1);
+ tArea area = { xPos, yPos, xPos + width - 1, yPos + height - 1, 4 };
+ osd->SetAreas(&area, 1);
start();
paint();
}
diff --git a/history.h b/history.h
index 4940d95..515f02b 100644
--- a/history.h
+++ b/history.h
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: history.h 2 2005-05-14 22:25:56Z tom $
+ * $Id: history.h 85 2007-06-20 16:14:45Z tom $
*/
#ifndef VDR_SPIDER_HISTORY_H
@@ -60,6 +60,9 @@ class Move
{
public:
+ /** Destructor */
+ virtual ~Move() {};
+
/** Do the move */
virtual void execute() = 0;