[comp.windows.x] xolors, X.V10R4 - minor bug about default font name

jmsellens@watdragon.waterloo.edu.UUCP (03/11/87)

If your .Xdefaults doesn't specify a default font, xcolors won't work
since it clobbers the DEFAULT_FONT name in fontname.  This, from about
line 82, will fix it.

  border_color = XGetDefault(argv[0],"BorderColor");
  back_color = XGetDefault(argv[0],"Background");
  fore_color = XGetDefault(argv[0],"Highlight");
  fontname = XGetDefault(argv[0],"BodyFont");
#ifdef waterloo
  /* in case no default font is specified in .Xdefaults file */
  if ( fontname == (char *)0 ) fontname = DEFAULT_FONT;
#endif

  for (i = 1; i < argc; i++) {
    if (argv[i][0] == '=') {