diff options
author | John Ankarström <john@ankarstrom.se> | 2022-08-17 19:01:26 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-08-17 19:01:26 +0200 |
commit | 78fbe9fcba52cad4b4c36aca7c385b3a8f45824a (patch) | |
tree | 63c1c602fc76ec33bc1751efaea685946daee5fe /c/episodelistview.h | |
parent | 853a598befbb8823c5868c792f51cda3466fada1 (diff) | |
download | EpisodeBrowser-78fbe9fcba52cad4b4c36aca7c385b3a8f45824a.tar.gz |
DataListView: Use file view.
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 |