Merge pull request #103 from damib/bugfix

Bugfix: disabling all the markers causes the GUI to freeze
This commit is contained in:
TT 2020-01-10 00:19:46 +09:00 committed by GitHub
commit 9bd034bc45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
plot.c
View file

@ -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);