mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[draw] Segfault. Refs #167
This commit is contained in:
parent
ae23e15104
commit
0de00f8555
@ -214,7 +214,10 @@ draw_space(struct terminal *term, int x, int y, struct screen_char *color)
|
||||
if (!screen_char) return;
|
||||
|
||||
screen_char->data = ' ';
|
||||
if (color) screen_char->c = color->c;
|
||||
if (color) {
|
||||
screen_char->c = color->c;
|
||||
screen_char->is_node = color->is_node;
|
||||
}
|
||||
}
|
||||
|
||||
/*! Used by viewer to copy over a document.
|
||||
|
Loading…
Reference in New Issue
Block a user