From 21e514572cb2f93b141f60a2876e083c651f4f39 Mon Sep 17 00:00:00 2001 From: Jman012 Date: Mon, 18 Nov 2013 20:10:07 -0800 Subject: Fixed a few typos. --- toxcore/Messenger.c | 4 ++-- toxcore/Messenger.h | 2 +- toxcore/tox.c | 2 +- toxcore/tox.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c index 43572eff..14f01373 100644 --- a/toxcore/Messenger.c +++ b/toxcore/Messenger.c @@ -2175,9 +2175,9 @@ int get_friendlist(Messenger *m, int **out_list, uint32_t *out_list_length) return 0; } -/* Return the number of chat in the instance m. +/* Return the number of chats in the instance m. * You should use this to determine how much memory to allocate - * for copy_grouplist. */ + * for copy_chatlist. */ uint32_t count_chatlist(Messenger *m) { uint32_t ret = 0; diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 1e463e36..3b99b3cf 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h @@ -635,7 +635,7 @@ int get_friendlist(Messenger *m, int **out_list, uint32_t *out_list_length); /* Return the number of chats in the instance m. * You should use this to determine how much memory to allocate - * for copy_grouplist. */ + * for copy_chatlist. */ uint32_t count_chatlist(Messenger *m); /* Copy a list of valid chat IDs into the array out_list. diff --git a/toxcore/tox.c b/toxcore/tox.c index 26ab3429..5e110cbe 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c @@ -479,7 +479,7 @@ int tox_group_message_send(Tox *tox, int groupnumber, uint8_t *message, uint32_t /* Return the number of chats in the instance m. * You should use this to determine how much memory to allocate - * for copy_friendlist. */ + * for copy_chatlist. */ uint32_t tox_count_chatlist(Tox *tox) { Messenger *m = tox; diff --git a/toxcore/tox.h b/toxcore/tox.h index 497fa3bc..97fb912a 100644 --- a/toxcore/tox.h +++ b/toxcore/tox.h @@ -407,7 +407,7 @@ int tox_group_message_send(Tox *tox, int groupnumber, uint8_t *message, uint32_t /* Return the number of chats in the instance m. * You should use this to determine how much memory to allocate - * for copy_friendlist. */ + * for copy_chatlist. */ uint32_t tox_count_chatlist(Tox *tox); /* Copy a list of valid chat IDs into the array out_list. -- cgit v1.2.3