From 78fbe9fcba52cad4b4c36aca7c385b3a8f45824a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 17 Aug 2022 19:01:26 +0200 Subject: DataListView: Use file view. --- c/episodelistview.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/episodelistview.h') 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 m_fv{L"elvdata.dat", ELVMAX}; + FileView m_fv{L"elvdata.dat", g_cfg.cEp+128u}; }; #endif -- cgit v1.2.3