diff options
Diffstat (limited to 'c/episodelistview.h')
-rw-r--r-- | c/episodelistview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/episodelistview.h b/c/episodelistview.h index 88c8c9e..f94803c 100644 --- a/c/episodelistview.h +++ b/c/episodelistview.h @@ -12,7 +12,7 @@ #define ELVSITITLE 1 #define ELVSIRATING 2 -#define ELVMAX 8192 +extern CfgA& g_cfg; struct EpisodeListView : public ListView { @@ -35,7 +35,7 @@ struct EpisodeListView : public ListView private: signed char m_iSortCol; static int CALLBACK SortProc(LPARAM lParam1, LPARAM lParam2, LPARAM extra); - FileView<ElvDataA> m_fv{L"elvdata.dat", ELVMAX}; + FileView<ElvDataA> m_fv{L"elvdata.dat", g_cfg.cEp+128u}; }; #endif |