Skip to content

Commit 72f6700

Browse files
committed
Bugfix minimum file format version error
Fixes #170
1 parent 97488a0 commit 72f6700

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sxbp/serialise.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,9 @@ sxbp_serialise_result_t sxbp_load_spiral(
128128
.minor = load_uint16_t(&buffer, 6),
129129
.patch = load_uint16_t(&buffer, 8),
130130
};
131-
// we don't accept anything less than v0.25.0, so the min is v0.25.0
132-
sxbp_version_t min_version = { .major = 0, .minor = 25, .patch = 0, };
131+
// we don't accept anything less than v0.26.0, so the min is v0.26.0
132+
// TODO: Add this as a library constant - to add in next minor release
133+
sxbp_version_t min_version = { .major = 0, .minor = 26, .patch = 0, };
133134
// check for version compatibility
134135
if(sxbp_version_less_than(buffer_version, min_version)) {
135136
// check failed

0 commit comments

Comments
 (0)