Skip to content

Commit ec94969

Browse files
authored
Merge pull request #171 from saxbophone/develop
v0.26.1 - Minimum file format version bugfix
2 parents 97488a0 + 77eb4cf commit ec94969

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# begin basic metadata
1616
cmake_minimum_required(VERSION 3.0)
1717

18-
project(sxbp VERSION 0.26.0 LANGUAGES C)
18+
project(sxbp VERSION 0.26.1 LANGUAGES C)
1919

2020
# set default C standard to use (C99) if not already set
2121
if(NOT DEFINED LIBSXBP_C_STANDARD)

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)