summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
authorJman012 <jman012guy@gmail.com>2013-11-18 20:10:07 -0800
committerJman012 <jman012guy@gmail.com>2013-11-18 20:10:07 -0800
commit21e514572cb2f93b141f60a2876e083c651f4f39 (patch)
treef35485d5969f38950b27fdb800a24d7cf48e98a4 /toxcore
parent37d97288306faefa193c1f6347665c8f58da6534 (diff)
Fixed a few typos.
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/Messenger.c4
-rw-r--r--toxcore/Messenger.h2
-rw-r--r--toxcore/tox.c2
-rw-r--r--toxcore/tox.h2
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)
2175 return 0; 2175 return 0;
2176} 2176}
2177 2177
2178/* Return the number of chat in the instance m. 2178/* Return the number of chats in the instance m.
2179 * You should use this to determine how much memory to allocate 2179 * You should use this to determine how much memory to allocate
2180 * for copy_grouplist. */ 2180 * for copy_chatlist. */
2181uint32_t count_chatlist(Messenger *m) 2181uint32_t count_chatlist(Messenger *m)
2182{ 2182{
2183 uint32_t ret = 0; 2183 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);
635 635
636/* Return the number of chats in the instance m. 636/* Return the number of chats in the instance m.
637 * You should use this to determine how much memory to allocate 637 * You should use this to determine how much memory to allocate
638 * for copy_grouplist. */ 638 * for copy_chatlist. */
639uint32_t count_chatlist(Messenger *m); 639uint32_t count_chatlist(Messenger *m);
640 640
641/* Copy a list of valid chat IDs into the array out_list. 641/* 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
479 479
480/* Return the number of chats in the instance m. 480/* Return the number of chats in the instance m.
481 * You should use this to determine how much memory to allocate 481 * You should use this to determine how much memory to allocate
482 * for copy_friendlist. */ 482 * for copy_chatlist. */
483uint32_t tox_count_chatlist(Tox *tox) 483uint32_t tox_count_chatlist(Tox *tox)
484{ 484{
485 Messenger *m = tox; 485 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
407 407
408/* Return the number of chats in the instance m. 408/* Return the number of chats in the instance m.
409 * You should use this to determine how much memory to allocate 409 * You should use this to determine how much memory to allocate
410 * for copy_friendlist. */ 410 * for copy_chatlist. */
411uint32_t tox_count_chatlist(Tox *tox); 411uint32_t tox_count_chatlist(Tox *tox);
412 412
413/* Copy a list of valid chat IDs into the array out_list. 413/* Copy a list of valid chat IDs into the array out_list.