config_path),
NULL);
- ds_init (&line, 128);
+ ds_init (&line);
if (init_fn == NULL)
{
for (i = 0; i < 4; i++)
{
struct string *token = &tokens[i];
- ds_init (token, 0);
+ ds_init (token);
ds_separate (line, token, i < 3 ? ":" : "", &save_idx);
ds_trim_spaces (token);
}
config_path),
NULL);
- ds_init (&line, 128);
+ ds_init (&line);
if (pprsz_fn == NULL)
{
}
}
-/* Ejects the paper on device D, if a page is open and is not
- blank. */
+/* Ejects the page on device D, if a page is open and non-blank,
+ and opens a new page. */
void
outp_eject_page (struct outp_driver *d)
{
if (d->page_open && d->cp_y != 0)
- {
- outp_close_page (d);
- outp_open_page (d);
- }
+ outp_close_page (d);
+ outp_open_page (d);
}
/* Returns the width of string S, in device units, when output on