From 6f609abc270631e3f9d892776af734739b6329a5 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Sun, 25 Sep 2016 16:13:09 +0200 Subject: [PATCH] x11.c, fix bug #330, rename csh variable font -> xfont reported by graahnul.grom in #330 setting xfont in .spiceinit has no effect https://sourceforge.net/p/ngspice/bugs/330/ --- src/frontend/plotting/x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/plotting/x11.c b/src/frontend/plotting/x11.c index c29a62eb4..fcd4d5779 100644 --- a/src/frontend/plotting/x11.c +++ b/src/frontend/plotting/x11.c @@ -425,7 +425,7 @@ X11_NewViewport(GRAPH *graph) XtAddCallback(DEVDEP(graph).buttons[1], XtNcallback, hardcopy, graph); /* set up fonts */ - if (!cp_getvar("font", CP_STRING, fontname)) + if (!cp_getvar("xfont", CP_STRING, fontname)) (void) strcpy(fontname, DEF_FONT); for (p = fontname; *p && *p <= ' '; p++)