Skip to content

Commit 77d2c93

Browse files
committed
Do not let -Bz trigger x-y basemap
Closes #4181.
1 parent 840b8be commit 77d2c93

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/gmt_init.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -3624,8 +3624,10 @@ GMT_LOCAL int gmtinit_set_titem (struct GMT_CTRL *GMT, struct GMT_PLOT_AXIS *A,
36243624
break;
36253625
}
36263626

3627-
GMT->current.map.frame.draw = true;
3628-
if (axis == 'z') GMT->current.map.frame.drawz = true;
3627+
if (axis == 'z')
3628+
GMT->current.map.frame.drawz = true;
3629+
else
3630+
GMT->current.map.frame.draw = true;
36293631

36303632
return (GMT_NOERROR);
36313633
}

0 commit comments

Comments
 (0)