summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--osdbase.c4
-rw-r--r--osdbase.h3
3 files changed, 3 insertions, 5 deletions
diff --git a/HISTORY b/HISTORY
index 26e4d2e2..4977d354 100644
--- a/HISTORY
+++ b/HISTORY
@@ -4096,3 +4096,4 @@ Video Disk Recorder Revision History
Petri Hintukainen). If you want to use "fadvise", you can activate the line
//#define USE_FADVISE
in tools.c.
+- Removed unused 'offset' member from cOsdItem.
diff --git a/osdbase.c b/osdbase.c
index e99c986a..81e146a8 100644
--- a/osdbase.c
+++ b/osdbase.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.c 1.24 2005/10/09 10:56:26 kls Exp $
+ * $Id: osdbase.c 1.25 2006/01/05 12:42:00 kls Exp $
*/
#include "osdbase.h"
@@ -19,7 +19,6 @@
cOsdItem::cOsdItem(eOSState State)
{
text = NULL;
- offset = -1;
state = State;
selectable = true;
fresh = true;
@@ -28,7 +27,6 @@ cOsdItem::cOsdItem(eOSState State)
cOsdItem::cOsdItem(const char *Text, eOSState State, bool Selectable)
{
text = NULL;
- offset = -1;
state = State;
selectable = Selectable;
fresh = true;
diff --git a/osdbase.h b/osdbase.h
index ec545ae9..4f329f59 100644
--- a/osdbase.h
+++ b/osdbase.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: osdbase.h 1.12 2005/10/02 09:18:20 kls Exp $
+ * $Id: osdbase.h 1.13 2006/01/05 12:42:11 kls Exp $
*/
#ifndef __OSDBASE_H
@@ -49,7 +49,6 @@ enum eOSState { osUnknown,
class cOsdItem : public cListObject {
private:
char *text;
- int offset;
eOSState state;
bool selectable;
protected: