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/
This commit is contained in:
parent
30be67b960
commit
6f609abc27
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue