summaryrefslogtreecommitdiffstats
path: root/planner.c
diff options
context:
space:
mode:
Diffstat (limited to 'planner.c')
-rw-r--r--planner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/planner.c b/planner.c
index 28c8e34a2..c1b0fb4a3 100644
--- a/planner.c
+++ b/planner.c
@@ -667,7 +667,7 @@ static int validate_depth(const char *text, int *mm_p)
while (isspace(*text))
text++;
- imperial = get_output_units()->length == FEET;
+ imperial = get_units()->length == FEET;
if (*text == 'm') {
imperial = 0;
text++;