aae046
diff --git a/gv/src/ps.c b/gv/src/ps.c
aae046
index 2428bcc..822b65a 100644
aae046
--- a/gv/src/ps.c
aae046
+++ b/gv/src/ps.c
aae046
@@ -357,7 +357,7 @@ static int parse_boundingbox(const char *l, int *boundingbox) {
aae046
 	while (*p == ' ' || *p == '\t')
aae046
 		p++;
aae046
 	fury = strtod(p, &pe);
aae046
-	if (*pe != '\n' && *pe != '\0' && *pe != ' ' && *pe != '\t') {
aae046
+	if (*pe != '\n'  && *pe != '\r'&& *pe != '\0' && *pe != ' ' && *pe != '\t') {
aae046
 		return 0;
aae046
 	}
aae046