[comp.windows.x] Small bug in xlsfonts on Sun4's

raj@GLACIER.ICS.UCI.EDU (Richard Johnson) (10/07/88)

VERSION:
	X11 release 2

CLIENT MACHINE:
	Sun 4/260

CLIENT OPERATING SYSTEM:
	SunOS 4.0

DISPLAY:
	n.a.

SYNOPSIS:
	xlsfonts prints lots of blank lines when invoked with no arguments
	or with "-C" argument.  (It works correctly on Sun3's.)

DESCRIPTION:
	 (More detailed description)
	Really?  I don't think this is necessary.

REPEAT-BY:
	type "xlsfonts" on a Sun4.

FIX:
*** bk_xlsfonts.c	Thu Oct  6 18:58:56 1988
--- xlsfonts.c	Thu Oct  6 19:11:55 1988
***************
*** 248,257 ****
  				if (index >= font_cnt)
  					break;
  				if (j+1 == columns)
! 					printf("%s", font_list[ index ]);
  				else
  					printf("%-*s",
! 						max_width, font_list[ index ]);
  			}
  			printf("\n");
  		}
--- 248,257 ----
  				if (index >= font_cnt)
  					break;
  				if (j+1 == columns)
! 					printf("%s", font_list[ index ].name);
  				else
  					printf("%-*s",
! 						max_width, font_list[ index ].name);
  			}
  			printf("\n");
  		}