prt_ps: line breaks
This commit is contained in:
@@ -250,6 +250,8 @@ process_nonprintable(ps_t *dev)
|
|||||||
if (dev->autofeed)
|
if (dev->autofeed)
|
||||||
write_buffer(dev, true);
|
write_buffer(dev, true);
|
||||||
break;
|
break;
|
||||||
|
case '\v':
|
||||||
|
case '\f':
|
||||||
case '\n':
|
case '\n':
|
||||||
write_buffer(dev, true);
|
write_buffer(dev, true);
|
||||||
break;
|
break;
|
||||||
@@ -260,7 +262,6 @@ process_nonprintable(ps_t *dev)
|
|||||||
|
|
||||||
/* Characters that should be written to the buffer as-is */
|
/* Characters that should be written to the buffer as-is */
|
||||||
case '\t':
|
case '\t':
|
||||||
case '\v':
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user