summaryrefslogtreecommitdiff
path: root/toxav/toxav.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r--toxav/toxav.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c
index 7a883cf2..a8fbbede 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -123,7 +123,7 @@ 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 && TOX_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}