Fix BUG#12.
Make ds_put_char_multiple() use the provided character instead of a space.
This commit is contained in:
1 parent
d9d0b6e44a
commit
3aa4128031
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user