--width;
if (width < 0)
width = MaxLineLength;
- } else {
- width = COLS - SidebarWidth - WrapMargin - ql - 1;
+ }
+ else {
+ if (option(OPTMBOXPANE))
+ width = COLS - SidebarWidth - WrapMargin - ql - 1;
+ else
+ width = COLS - WrapMargin - ql - 1;
+
if (option(OPTSTUFFQUOTED))
--width;
if (width < 0)
width = COLS;
- }
+ }
/* fprintf(stderr,"print_flowed_line will print `%s' with ql = %d\n",line,ql); */
if (strlen(line)==0) {
- if (s->prefix)
- state_puts(s->prefix,s);
- for (i=0;i<ql;++i) state_putc('>',s);
- if (option(OPTSTUFFQUOTED))
- state_putc(' ',s);
+ if (option (OPTQUOTEEMPTY)) {
+ if (s->prefix)
+ state_puts(s->prefix,s);
+ for (i=0;i<ql;++i) state_putc('>',s);
+ if (option(OPTSTUFFQUOTED))
+ state_putc(' ',s);
+ }
state_putc('\n',s);
return;
}