Imanuel Scholz corrected some comments

This commit is contained in:
leitner
2002-08-05 18:10:01 +00:00
parent bdd15d2344
commit ffc91c62a3
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#include "stralloc.h"
/* stralloc_append adds one byte buf[0] to the end of the string stored
* in sa. It is the same as stralloc_catb(&sa,buf,1). */
/* stralloc_append adds one byte in[0] to the end of the string stored
* in sa. It is the same as stralloc_catb(&sa,in,1). */
int stralloc_append(stralloc *sa,const char *in) {
if (stralloc_readyplus(sa,1)) {
sa->s[sa->len]=*in;