diff options
-rw-r--r-- | core/dive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c index 3dcfebc3e..2c699fb9a 100644 --- a/core/dive.c +++ b/core/dive.c @@ -3139,7 +3139,7 @@ struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer dl = b; } - if (!strcmp(a->dc.model, "planneed dive")) { + if (same_string(a->dc.model, "planned dive")) { struct dive *tmp = a; a = b; b = tmp; |