Skip to content

Commit

Permalink
Forgot to update the theme in gmtinit_conf_modern_override (#3508)
Browse files Browse the repository at this point in the history
This function is called when modern theme is selected in classic or always in modern.  But it failed to actually set the GMT_THEME variable so in classic mode it reverted to classic before writing out the theme.
  • Loading branch information
PaulWessel committed Jun 20, 2020
1 parent a973ac6 commit c75890d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gmt_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -6110,6 +6110,9 @@ GMT_LOCAL void gmtinit_conf_modern_override (struct GMT_CTRL *GMT) {
strcpy (GMT->current.setting.format_geo_map, "ddd:mm:ssF");
gmtlib_plot_C_format (GMT); /* Update format statements */

/* GMT_THEME */
strcpy (GMT->current.setting.theme, "modern");

/* MAP group */

/* MAP_ANNOT_MIN_SPACING */
Expand Down

0 comments on commit c75890d

Please sign in to comment.