Remove leading whitespace from printcap entries.
This commit is contained in:
parent
fc37ef6130
commit
dff78edb02
|
@ -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';
|
||||
|
|
Loading…
Reference in New Issue