diff options
Diffstat (limited to 'src/internal.cpp')
| -rw-r--r-- | src/internal.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal.cpp b/src/internal.cpp index fbc7c9a1..84db5d82 100644 --- a/src/internal.cpp +++ b/src/internal.cpp @@ -207,6 +207,8 @@ consuming their surrounding whitespace. pj_chomp (c); n = strlen (c); + if (n==0) + return c; /* First collapse repeated whitespace (including +/;) */ i = 0; |
