libdraw: fix _fontpipe's error reading

This commit is contained in:
Roi Martin 2021-12-09 11:13:51 +01:00
parent d0d440860f
commit 2b0423c831

View file

@ -306,6 +306,7 @@ _fontpipe(char *name)
}
if(c == '\001')
break;
buf[nbuf] = c;
}
return p[0];
}