aboutsummaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.c b/dive.c
index d66eec9a3..d86c7de2a 100644
--- a/dive.c
+++ b/dive.c
@@ -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;
}