api-strbuf.txt minor typos

Fixed some minor typos in api-strbuf.txt: 'A' instead of 'An', 'have' instead of 'has', a overlong line, and 'another' instead of 'an other'. Signed-off-by: Jeremiah Mahler <jmmahler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeremiah Mahler committed Jun 8, 2014 at 20:32 UTC 97ea0d1043715f8fa2ee4a833195519c0be4e046
1 file changed +5 -5
Documentation/technical/api-strbuf.txt
+5 -5
@@ -7,10 +7,10 @@ use the mem* functions than a str* one (memchr vs. strchr e.g.).
7 Though, one has to be careful about the fact that str* functions often
8 stop on NULs and that strbufs may have embedded NULs.
9
10 -An strbuf is NUL terminated for convenience, but no function in the
10 +A strbuf is NUL terminated for convenience, but no function in the
11 strbuf API actually relies on the string being free of NULs.
12
13 -strbufs has some invariants that are very important to keep in mind:
13 +strbufs have some invariants that are very important to keep in mind:
14
15 . The `buf` member is never NULL, so it can be used in any usual C
16 string operations safely. strbuf's _have_ to be initialized either by
@@ -56,8 +56,8 @@ Data structures
56 * `struct strbuf`
57
58 This is the string buffer structure. The `len` member can be used to
59 -determine the current length of the string, and `buf` member provides access to
60 -the string itself.
59 +determine the current length of the string, and `buf` member provides
60 +access to the string itself.
61
62 Functions
63 ---------
@@ -184,7 +184,7 @@ strbuf_addstr(sb, "immediate string");
184
185 `strbuf_addbuf`::
186
187 - Copy the contents of an other buffer at the end of the current one.
187 + Copy the contents of another buffer at the end of the current one.
188
189 `strbuf_adddup`::
190