diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-08 12:14:27 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-12-08 12:14:27 -0800 |
commit | 95cc317b087e863f6e0a4ab4db7ab68f06a9d969 (patch) | |
tree | 34662270cb6698acaa33a966c25f932de18e3320 /dive.c | |
parent | 1cb9fc7fb4cfc919cc7880d0af3a66a2f7f107cf (diff) | |
parent | 52748412fff0974fbc76b3f0a72cd0ba58b37771 (diff) | |
download | subsurface-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |