summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c
index de2d35df3..d311aee17 100644
--- a/divelist.c
+++ b/divelist.c
@@ -160,8 +160,9 @@ static void depth_data_func(GtkTreeViewColumn *col,
frac = depth % 10;
if (integer < 20)
break;
+ if (frac >= 5)
+ integer++;
frac = -1;
- /* Rounding? */
break;
case FEET:
integer = mm_to_feet(depth) + 0.5;