1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00

[draw] Segfault. Refs #167

This commit is contained in:
Witold Filipczyk 2022-05-09 20:53:35 +02:00
parent ae23e15104
commit 0de00f8555

View File

@ -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.