diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 952aa436..42f0738c 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h @@ -415,7 +415,7 @@ int m_set_usertyping(Messenger *m, int friendnumber, uint8_t is_typing); /* Get the typing status of a friend. * * returns 0 if friend is not typing. - * returns -1 if friend is typing. + * returns 1 if friend is typing. */ uint8_t m_get_istyping(Messenger *m, int friendnumber); diff --git a/toxcore/tox.c b/toxcore/tox.c index 3f2c1e92..362724fc 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c @@ -285,7 +285,7 @@ int tox_set_user_is_typing(Tox *tox, int friendnumber, uint8_t is_typing) /* Get the typing status of a friend. * * returns 0 if friend is not typing. - * returns -1 if friend is typing. + * returns 1 if friend is typing. */ int tox_get_is_typing(Tox *tox, int friendnumber) { diff --git a/toxcore/tox.h b/toxcore/tox.h index 0a4e80f7..72589142 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h @@ -292,7 +292,7 @@ int tox_set_user_is_typing(Tox *tox, int friendnumber, uint8_t is_typing); /* Get the typing status of a friend. * * returns 0 if friend is not typing. - * returns -1 if friend is typing. + * returns 1 if friend is typing. */ int tox_get_is_typing(Tox *tox, int friendnumber);