Commit 391844ec authored by Jonathan Wilkes's avatar Jonathan Wilkes

another attempt at guarding against out-of-order messages

parent 9db3e780
...@@ -1958,10 +1958,12 @@ function gui_message_redraw_border(cid, tag, width, height) { ...@@ -1958,10 +1958,12 @@ function gui_message_redraw_border(cid, tag, width, height) {
var g, b; var g, b;
if (patchwin[cid]) { if (patchwin[cid]) {
g = get_gobj(cid, tag); g = get_gobj(cid, tag);
b = g.querySelector(".border"); if (g) {
configure_item(b, { b = g.querySelector(".border");
points: message_border_points(width, height), configure_item(b, {
}); points: message_border_points(width, height),
});
}
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment