diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2019-01-17 17:01:20 +0100 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2019-01-17 21:57:27 +0100 |
| commit | c0ac895d77e823fe9a9458d013eb0f6378f39060 (patch) | |
| tree | 9e7641cda61a75c3a6209d17dad6fa7c8448cd44 /src/internal.cpp | |
| parent | 3121d9bc309b439adcc2ab9743a3d2b3a8f48296 (diff) | |
| download | PROJ-c0ac895d77e823fe9a9458d013eb0f6378f39060.tar.gz PROJ-c0ac895d77e823fe9a9458d013eb0f6378f39060.zip | |
Remove proj_create_from_proj_string() and proj_create_from_user_input(), and make proj_create() do more or less what proj_create_from_user_input() did before (fixes #1214)
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; |
