Remove leading whitespace from printcap entries.

This commit is contained in:
Bill Medland 2002-05-17 00:10:15 +00:00 committed by Alexandre Julliard
parent fc37ef6130
commit dff78edb02
1 changed files with 1 additions and 0 deletions

View File

@ -175,6 +175,7 @@ PRINTCAP_ParseEntry(char *pent,BOOL isfirst) {
BOOL isps = FALSE;
char *port,*devline;
while (isspace(*pent)) pent++;
s = strchr(pent,':');
if (!s) return FALSE;
*s='\0';