tclxcircuit.c (xcircuit-3.10.28.tgz) | : | tclxcircuit.c (xcircuit-3.10.29.tgz) | ||
---|---|---|---|---|
skipping to change at line 9851 | skipping to change at line 9851 | |||
if ((xcuid = Tk_GetOption(tkwind, "filelistfont", "Font")) == NULL) | if ((xcuid = Tk_GetOption(tkwind, "filelistfont", "Font")) == NULL) | |||
xcuid = "-*-helvetica-medium-r-normal--14-*"; | xcuid = "-*-helvetica-medium-r-normal--14-*"; | |||
appdata.filefont = XLoadQueryFont(dpy, (char *)xcuid); | appdata.filefont = XLoadQueryFont(dpy, (char *)xcuid); | |||
if (appdata.filefont == NULL) | if (appdata.filefont == NULL) | |||
{ | { | |||
appdata.filefont = XLoadQueryFont(dpy, "-*-*-medium-r-normal--14-*"); | appdata.filefont = XLoadQueryFont(dpy, "-*-*-medium-r-normal--14-*"); | |||
if (appdata.filefont == NULL) | if (appdata.filefont == NULL) | |||
appdata.filefont = XLoadQueryFont(dpy, "-*-*-*-*-*--*-*"); | appdata.filefont = XLoadQueryFont(dpy, "-*-*-*-*-*--*-*"); | |||
if (appdata.filefont == NULL) | ||||
appdata.filefont = XLoadQueryFont(dpy, "*"); | ||||
if (appdata.filefont == NULL) { | ||||
Fprintf(stderr, "Fatal error: No X11 fonts found.\n"); | ||||
} | ||||
} | } | |||
/* Other defaults */ | /* Other defaults */ | |||
if ((xcuid = Tk_GetOption(tkwind, "timeout", "TimeOut")) == NULL) | if ((xcuid = Tk_GetOption(tkwind, "timeout", "TimeOut")) == NULL) | |||
xcuid = "10"; | xcuid = "10"; | |||
appdata.timeout = atoi((char *)xcuid); | appdata.timeout = atoi((char *)xcuid); | |||
} | } | |||
/*--------------------------------------------------------------*/ | /*--------------------------------------------------------------*/ | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 5 lines changed or added |