diff options
Diffstat (limited to 'console-client/vga.c')
-rw-r--r-- | console-client/vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-client/vga.c b/console-client/vga.c index cf6c8c35..2d74aae3 100644 --- a/console-client/vga.c +++ b/console-client/vga.c @@ -713,7 +713,7 @@ vga_display_write (void *handle, conchar_t *str, size_t length, return 0; if (!disp->cur_conchar_attr_init - || *(uint32_t *) &disp->cur_conchar_attr != *(uint32_t *) &str->attr) + || !conchar_attr_equal (&disp->cur_conchar_attr, &str->attr)) { if (!disp->cur_conchar_attr_init) disp->cur_conchar_attr_init = 1; |