projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NPAR TESTS: Fix two test failures.
[pspp]
/
src
/
output
/
ascii.c
diff --git
a/src/output/ascii.c
b/src/output/ascii.c
index 00e3f33cbdfba56df6f6f290c0b4dc7d8a5e0da8..06bd190633f8e5d95c3994fe3b6c743edc180192 100644
(file)
--- a/
src/output/ascii.c
+++ b/
src/output/ascii.c
@@
-901,7
+901,7
@@
static void
output_title_line (FILE *out, int width, const char *left, const char *right)
{
struct string s = DS_EMPTY_INITIALIZER;
output_title_line (FILE *out, int width, const char *left, const char *right)
{
struct string s = DS_EMPTY_INITIALIZER;
- ds_put_
char
_multiple (&s, ' ', width);
+ ds_put_
byte
_multiple (&s, ' ', width);
if (left != NULL)
{
size_t length = MIN (strlen (left), width);
if (left != NULL)
{
size_t length = MIN (strlen (left), width);
@@
-912,7
+912,7
@@
output_title_line (FILE *out, int width, const char *left, const char *right)
size_t length = MIN (strlen (right), width);
memcpy (ds_end (&s) - length, right, length);
}
size_t length = MIN (strlen (right), width);
memcpy (ds_end (&s) - length, right, length);
}
- ds_put_
char
(&s, '\n');
+ ds_put_
byte
(&s, '\n');
fputs (ds_cstr (&s), out);
ds_destroy (&s);
}
fputs (ds_cstr (&s), out);
ds_destroy (&s);
}