mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-02 08:57:19 -04:00
[draw] clear also is_node
This commit is contained in:
parent
1e657abb3b
commit
d8cbef44d6
@ -26,10 +26,10 @@
|
|||||||
|
|
||||||
#if SCREEN_COLOR_SIZE > 1
|
#if SCREEN_COLOR_SIZE > 1
|
||||||
#define clear_screen_char_color(schar) \
|
#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
|
#else
|
||||||
#define clear_screen_char_color(schar) \
|
#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
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user