aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/main.c')
-rw-r--r--ui/gtk/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index f6608deb22..dd6214eb9f 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2663,8 +2663,8 @@ main(int argc, char *argv[])
#endif
break;
case 'm': /* Fixed-width font for the display */
- g_free(prefs_p->gui_font_name);
- prefs_p->gui_font_name = g_strdup(optarg);
+ g_free(prefs_p->gui_gtk2_font_name);
+ prefs_p->gui_gtk2_font_name = g_strdup(optarg);
break;
case 'n': /* No name resolution */
gbl_resolv_flags.mac_name = FALSE;