1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-07-26 16:45:12 -04:00

[draw] clear also is_node

This commit is contained in:
Witold Filipczyk 2022-03-06 20:25:37 +01:00
parent 1e657abb3b
commit d8cbef44d6

View File

@ -26,10 +26,10 @@
#if SCREEN_COLOR_SIZE > 1
#define clear_screen_char_color(schar) \
do { memset((schar)->c.color, 0, SCREEN_COLOR_SIZE); } while (0)
do { memset((schar)->c.color, 0, SCREEN_COLOR_SIZE); (schar)->is_node = 0;} while (0)
#else
#define clear_screen_char_color(schar) \
do { (schar)->c.color[0] = 0; } while (0)
do { (schar)->c.color[0] = 0; (schar)->is_node = 0; } while (0)
#endif