diff --git a/plot.c b/plot.c index 69c9ee6..af18742 100644 --- a/plot.c +++ b/plot.c @@ -1493,6 +1493,8 @@ draw_all(bool flush) void redraw_marker(int marker, int update_info) { + if (marker < 0) + return; // mark map on new position of marker markmap_marker(marker);