mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-26 01:15:37 +00:00
[color] memcmp for comparison of colors
Weak point is for example: 256 colors, compiled with true colors.
This commit is contained in:
parent
c3c9041487
commit
53522b8946
|
@ -316,7 +316,7 @@ draw_current_link(struct session *ses, struct document_view *doc_view)
|
|||
|
||||
if (i == cursor_offset) {
|
||||
int blockable = (!link_is_textinput(link)
|
||||
&& co->c.color != template_->c.color);
|
||||
&& memcmp(co->c.color, template_->c.color, sizeof(template_->c.color)));
|
||||
|
||||
set_cursor(term, x, y, blockable);
|
||||
set_window_ptr(ses->tab, x, y);
|
||||
|
|
Loading…
Reference in New Issue
Block a user