diff options
author | Christian Wieninger <cwieninger@gmx.de> | 2011-07-31 09:34:17 +0200 |
---|---|---|
committer | Christian Wieninger <cwieninger@gmx.de> | 2011-07-31 09:34:17 +0200 |
commit | ed3511d3e17d5b8683ecbb16b985e0ab94e58eb7 (patch) | |
tree | 326d0a8995bd282da0fdf038384ac2f1c4a18f25 /epgsearchcfg.h | |
parent | 0c29abe2f29b738b9b25c24938f0cc0622bd3967 (diff) | |
download | vdr-plugin-epgsearch-ed3511d3e17d5b8683ecbb16b985e0ab94e58eb7.tar.gz vdr-plugin-epgsearch-ed3511d3e17d5b8683ecbb16b985e0ab94e58eb7.tar.bz2 |
finnish update + some small fixes by Rolf Ahrenberg
Diffstat (limited to 'epgsearchcfg.h')
-rw-r--r-- | epgsearchcfg.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epgsearchcfg.h b/epgsearchcfg.h index d2d163b..42f7b26 100644 --- a/epgsearchcfg.h +++ b/epgsearchcfg.h @@ -64,7 +64,7 @@ class cShowMode: public cListObject int GetTime() const { return itime; } bool GetUsage() const { return useIt; } - void SetDescription(const char* szD) { if (szD) strcpy(description, szD); } + void SetDescription(const char* szD) { if (szD) strncpy(description, szD, sizeof(description)); } void SetTime(int iT) { itime = iT; } void SetUsage(bool bU) { useIt = bU; } int Compare(const cListObject &ListObject) const; @@ -107,7 +107,7 @@ cEPGSearchConfig(void); int useExternalSVDRP; int ignorePrimary; char defrecdir[MaxFileName]; - cShowMode ShowModes[6]; + cShowMode ShowModes[showModeMax]; int useVDRTimerEditMenu; int showChannelGroups; int showDaySeparators; |