aboutsummaryrefslogtreecommitdiff
path: root/c/episodelistview.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-17 19:01:26 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-17 19:01:26 +0200
commit78fbe9fcba52cad4b4c36aca7c385b3a8f45824a (patch)
tree63c1c602fc76ec33bc1751efaea685946daee5fe /c/episodelistview.h
parent853a598befbb8823c5868c792f51cda3466fada1 (diff)
downloadEpisodeBrowser-78fbe9fcba52cad4b4c36aca7c385b3a8f45824a.tar.gz
DataListView: Use file view.
Diffstat (limited to 'c/episodelistview.h')
-rw-r--r--c/episodelistview.h4
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