Fix BUG#12.

Make ds_put_char_multiple() use the provided character instead of a
space.
This commit is contained in:
Mikio Hara committed 2009-01-22 16:19:14 -08:00
1 parent d9d0b6e44a
commit 3aa4128031
1 file changed
+1 -1
+1 -1
View File
@@ -91,7 +91,7 @@ ds_put_char(struct ds *ds, char c)
void
ds_put_char_multiple(struct ds *ds, char c, size_t n)
{
memset(ds_put_uninit(ds, n), ' ', n);
memset(ds_put_uninit(ds, n), c, n);
}
void