]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch.h: Fix some copy-paste errors in the documentaton.
authorCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 22:45:34 +0000 (15:45 -0700)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Oct 2009 22:45:34 +0000 (15:45 -0700)
In several places we had "results" where "tags" was intended.
It actually read fine in some cases, but this is still better.

notmuch.h

index 93bb66e93932818cd379cdc155c6a37f115fd978..3b4f980d0c25c4bc2b8db2a2c632150c2b36b68d 100644 (file)
--- a/notmuch.h
+++ b/notmuch.h
@@ -382,7 +382,7 @@ notmuch_message_get_thread_ids (notmuch_message_t *message);
 void
 notmuch_message_destroy (notmuch_message_t *message);
 
 void
 notmuch_message_destroy (notmuch_message_t *message);
 
-/* Does the given notmuch_tags_t object contain any more results.
+/* Does the given notmuch_tags_t object contain any more tags.
  *
  * When this function returns TRUE, notmuch_tags_get will return a
  * valid string. Whereas when this function returns FALSE,
  *
  * When this function returns TRUE, notmuch_tags_get will return a
  * valid string. Whereas when this function returns FALSE,
@@ -394,7 +394,7 @@ notmuch_message_destroy (notmuch_message_t *message);
 notmuch_bool_t
 notmuch_tags_has_more (notmuch_tags_t *tags);
 
 notmuch_bool_t
 notmuch_tags_has_more (notmuch_tags_t *tags);
 
-/* Get the current result from 'tags' as a string.
+/* Get the current tag from 'tags' as a string.
  *
  * Note: The returned string belongs to 'tags' and has a lifetime
  * identical to it (and the query to which it utlimately belongs).
  *
  * Note: The returned string belongs to 'tags' and has a lifetime
  * identical to it (and the query to which it utlimately belongs).
@@ -411,7 +411,7 @@ notmuch_tags_get (notmuch_tags_t *tags);
  * showing how to iterate over a notmuch_tags_t object.
  */
 void
  * showing how to iterate over a notmuch_tags_t object.
  */
 void
-notmuch_tags_advance (notmuch_tags_t *results);
+notmuch_tags_advance (notmuch_tags_t *tags);
 
 /* Destroy a notmuch_tags_t object.
  *
 
 /* Destroy a notmuch_tags_t object.
  *