diff options
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r-- | toxav/toxav.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c index 814c4f26..1aece0b3 100644 --- a/toxav/toxav.c +++ b/toxav/toxav.c | |||
@@ -121,11 +121,11 @@ uint32_t toxav_version_patch(void) | |||
121 | 121 | ||
122 | bool toxav_version_is_compatible(uint32_t major, uint32_t minor, uint32_t patch) | 122 | bool toxav_version_is_compatible(uint32_t major, uint32_t minor, uint32_t patch) |
123 | { | 123 | { |
124 | return (TOXAV_VERSION_MAJOR == major && /* Force the major version */ | 124 | return (TOXAV_VERSION_MAJOR == major && /* Force the major version */ |
125 | (TOXAV_VERSION_MINOR > minor || /* Current minor version must be newer than requested -- or -- */ | 125 | (TOXAV_VERSION_MINOR > minor || /* Current minor version must be newer than requested -- or -- */ |
126 | (TOXAV_VERSION_MINOR == minor && TOXAV_VERSION_PATCH >= patch) /* the patch must be the same or newer */ | 126 | (TOXAV_VERSION_MINOR == minor && TOXAV_VERSION_PATCH >= patch) /* the patch must be the same or newer */ |
127 | ) | 127 | ) |
128 | ); | 128 | ); |
129 | } | 129 | } |
130 | 130 | ||
131 | ToxAV *toxav_new(Tox *tox, TOXAV_ERR_NEW *error) | 131 | ToxAV *toxav_new(Tox *tox, TOXAV_ERR_NEW *error) |