diff options
Diffstat (limited to 'toxencryptsave/toxencryptsave.c')
-rw-r--r-- | toxencryptsave/toxencryptsave.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxencryptsave/toxencryptsave.c b/toxencryptsave/toxencryptsave.c index bbe0422f..267bd813 100644 --- a/toxencryptsave/toxencryptsave.c +++ b/toxencryptsave/toxencryptsave.c | |||
@@ -64,11 +64,11 @@ uint32_t toxes_version_patch(void) | |||
64 | 64 | ||
65 | bool toxes_version_is_compatible(uint32_t major, uint32_t minor, uint32_t patch) | 65 | bool toxes_version_is_compatible(uint32_t major, uint32_t minor, uint32_t patch) |
66 | { | 66 | { |
67 | return (TOXES_VERSION_MAJOR == major && /* Force the major version */ | 67 | return (TOXES_VERSION_MAJOR == major && /* Force the major version */ |
68 | (TOXES_VERSION_MINOR > minor || /* Current minor version must be newer than requested -- or -- */ | 68 | (TOXES_VERSION_MINOR > minor || /* Current minor version must be newer than requested -- or -- */ |
69 | (TOXES_VERSION_MINOR == minor && TOXES_VERSION_PATCH >= patch) /* the patch must be the same or newer */ | 69 | (TOXES_VERSION_MINOR == minor && TOXES_VERSION_PATCH >= patch) /* the patch must be the same or newer */ |
70 | ) | 70 | ) |
71 | ); | 71 | ); |
72 | } | 72 | } |
73 | 73 | ||
74 | /* Clients should consider alerting their users that, unlike plain data, if even one bit | 74 | /* Clients should consider alerting their users that, unlike plain data, if even one bit |