diff options
Diffstat (limited to 'dive.c')
-rw-r--r-- | dive.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -406,7 +406,7 @@ static struct event *find_previous_event(struct divecomputer *dc, struct event * if (!event->name) return NULL; while (ev && ev != event) { - if(ev->name && !strcmp(ev->name, event->name)) + if (ev->name && !strcmp(ev->name, event->name)) previous = ev; ev = ev->next; } |