mirror of
git://slackware.nl/current.git
synced 2024-12-28 09:59:53 +01:00
14 lines
420 B
Diff
14 lines
420 B
Diff
|
diff --git a/gv/src/ps.c b/gv/src/ps.c
|
||
|
index 2428bcc..822b65a 100644
|
||
|
--- a/gv/src/ps.c
|
||
|
+++ b/gv/src/ps.c
|
||
|
@@ -357,7 +357,7 @@ static int parse_boundingbox(const char *l, int *boundingbox) {
|
||
|
while (*p == ' ' || *p == '\t')
|
||
|
p++;
|
||
|
fury = strtod(p, &pe);
|
||
|
- if (*pe != '\n' && *pe != '\0' && *pe != ' ' && *pe != '\t') {
|
||
|
+ if (*pe != '\n' && *pe != '\r'&& *pe != '\0' && *pe != ' ' && *pe != '\t') {
|
||
|
return 0;
|
||
|
}
|
||
|
|