diff options
-rw-r--r-- | game.c | 6 | ||||
-rw-r--r-- | history.h | 5 |
2 files changed, 7 insertions, 4 deletions
@@ -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(); } @@ -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; |