"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tclxcircuit.c" between
xcircuit-3.10.28.tgz and xcircuit-3.10.29.tgz

About: XCircuit is a X11 program for drawing publishable-quality electrical circuit schematic diagrams and related figures. It can also be used as a generic drawing program.

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

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)