aboutsummaryrefslogtreecommitdiff
path: root/c/data.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/data.h
parent853a598befbb8823c5868c792f51cda3466fada1 (diff)
downloadEpisodeBrowser-78fbe9fcba52cad4b4c36aca7c385b3a8f45824a.tar.gz
DataListView: Use file view.
Diffstat (limited to 'c/data.h')
-rw-r--r--c/data.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/c/data.h b/c/data.h
index 3e099ea..6d6edd3 100644
--- a/c/data.h
+++ b/c/data.h
@@ -13,7 +13,7 @@
* should be regarded as immutable. If the format needs to be changed
* in the future, then new structs ending with B should be added. */
-/* Note that unsigned chars are 1-byte-aligned, wchar_t are
+/* Note that unsigned chars are 1-byte-aligned, shorts and wchar_t are
* 2-byte-aligned and ints are 4-byte-aligned (on x86 Windows). */
/* Basic episode data presented in episode list view. */
@@ -31,6 +31,8 @@ struct ElvDataA
/* Extra episode data presented in data list view. */
struct DlvDataA
{
+ unsigned char version = 'a';
+ unsigned char pad[3] = {0};
wchar_t date[32] = {0};
wchar_t source[48] = {0};
wchar_t screenwriter[48] = {0};
@@ -45,7 +47,7 @@ struct CfgA
unsigned char bViewWatched = 1;
unsigned char bViewTVOriginal = 1;
signed char iSortCol = 1;
- unsigned short cEp = 0;
+ unsigned short cEp = 4096;
unsigned short iFocus = 0;
unsigned short heightDlv = 0;
wchar_t limitScreenwriter[64] = {0};