Apple build fix
This commit is contained in:
@@ -1462,7 +1462,9 @@ process_char(escp_t *dev, uint8_t ch)
|
||||
dev->curr_x = dev->left_margin;
|
||||
if (!dev->autofeed)
|
||||
return 1;
|
||||
#ifndef __APPLE__
|
||||
[[fallthrough]];
|
||||
#endif
|
||||
|
||||
case 0x0a: /* Line feed */
|
||||
if (dev->font_style & STYLE_DOUBLEWIDTHONELINE) {
|
||||
|
||||
@@ -283,7 +283,9 @@ process_char(prnt_t *dev, uint8_t ch)
|
||||
dev->curr_x = 0;
|
||||
if (!dev->autofeed)
|
||||
return 1;
|
||||
#ifndef __APPLE__
|
||||
[[fallthrough]];
|
||||
#endif
|
||||
|
||||
case 0x0a: /* Line feed */
|
||||
dev->curr_x = 0;
|
||||
|
||||
Reference in New Issue
Block a user