fix typos in comments and doc

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-02-19 09:16:33 +01:00
parent 2f8a46032d
commit 00ddd44cda
2 changed files with 2 additions and 2 deletions

View File

@ -422,7 +422,7 @@ called 'strings.c' - instead of two, food for thought).
Testing String Equivalence Testing String Equivalence
~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~
There's a right way and a wrong way to test for sting equivalence with There's a right way and a wrong way to test for string equivalence with
strcmp(): strcmp():
The wrong way: The wrong way:

View File

@ -57,7 +57,7 @@ int file_write_dep(const char *name)
} }
/* Allocate initial growable sting */ /* Allocate initial growable string */
struct gstr str_new(void) struct gstr str_new(void)
{ {
struct gstr gs; struct gstr gs;