summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-12-08 12:14:27 -0800
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-12-08 12:14:27 -0800
commit95cc317b087e863f6e0a4ab4db7ab68f06a9d969 (patch)
tree34662270cb6698acaa33a966c25f932de18e3320 /dive.c
parent1cb9fc7fb4cfc919cc7880d0af3a66a2f7f107cf (diff)
parent52748412fff0974fbc76b3f0a72cd0ba58b37771 (diff)
downloadsubsurface-95cc317b087e863f6e0a4ab4db7ab68f06a9d969.tar.gz
Merge branch 'stars' of git://git.hohndel.org/subsurface
* 'stars' of git://git.hohndel.org/subsurface: Fix some issues with star rating code Add typical 0 to 5 star rating for dives Still not great editing, but other than that it looks good.
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.c b/dive.c
index 31be3291d..3fa09bd10 100644
--- a/dive.c
+++ b/dive.c
@@ -559,6 +559,7 @@ struct dive *try_to_merge(struct dive *a, struct dive *b)
MERGE_TXT(res, a, b, notes);
MERGE_TXT(res, a, b, buddy);
MERGE_TXT(res, a, b, divemaster);
+ MERGE_MAX(res, a, b, rating);
MERGE_MAX(res, a, b, number);
MERGE_MAX(res, a, b, maxdepth.mm);
res->meandepth.mm = 0;