summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/term-page.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-terminal/term-page.c')
-rw-r--r--src/libsystemd-terminal/term-page.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libsystemd-terminal/term-page.c b/src/libsystemd-terminal/term-page.c
index ae73cdf627..bac85200f1 100644
--- a/src/libsystemd-terminal/term-page.c
+++ b/src/libsystemd-terminal/term-page.c
@@ -75,7 +75,6 @@
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
-#include <wchar.h>
#include "macro.h"
#include "term-internal.h"
#include "util.h"
@@ -799,11 +798,9 @@ static inline void line_insert(term_line *line, unsigned int from, unsigned int
age);
/* adjust fill-state */
- DISABLE_WARNING_SHADOW;
line->fill = MIN(line->width,
MAX(line->fill + num,
from + num));
- REENABLE_WARNING;
} else {
/* modify head-cell */
term_cell_set(line->cells + from,
@@ -872,11 +869,9 @@ void term_line_write(term_line *line, unsigned int pos_x, term_char_t ch, unsign
age);
/* adjust fill-state */
- DISABLE_WARNING_SHADOW;
line->fill = MIN(line->width,
MAX(line->fill,
pos_x + len));
- REENABLE_WARNING;
}
}