projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of capacity argument to ds_init() and update all callers.
[pspp-builds.git]
/
src
/
output
/
postscript.c
diff --git
a/src/output/postscript.c
b/src/output/postscript.c
index f212bb20084c639bf00fc2306c233dc501adf9af..919d1bb7debd31de3f6f5338fbbedc9db2c638c0 100644
(file)
--- a/
src/output/postscript.c
+++ b/
src/output/postscript.c
@@
-874,7
+874,7
@@
write_text (struct outp_driver *this,
fprintf (ext->file, "F%d setfont\n", font);
}
fprintf (ext->file, "F%d setfont\n", font);
}
- ds_init (&out
, 0
);
+ ds_init (&out);
for (i = 0; i < char_cnt; i = j)
{
for (j = i + 1; j < char_cnt; j++)
for (i = 0; i < char_cnt; i = j)
{
for (j = i + 1; j < char_cnt; j++)
@@
-1382,7
+1382,7
@@
reencode_font (struct outp_driver *this, struct font *font)
line_number = 0;
line_number = 0;
- ds_init (&line
, 0
);
+ ds_init (&line);
while (ds_get_config_line (file, &line, &line_number))
{
char *pschar, *code;
while (ds_get_config_line (file, &line, &line_number))
{
char *pschar, *code;