aboutsummaryrefslogtreecommitdiff
path: root/c/data.h
diff options
context:
space:
mode:
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};