diff --git a/src/4D_api.cpp b/src/4D_api.cpp index 81e16600c5..f890814277 100644 --- a/src/4D_api.cpp +++ b/src/4D_api.cpp @@ -1369,7 +1369,7 @@ static char *path_append (char *buf, const char *app, size_t *buf_size) { /* Only append a semicolon if something's already there */ if (0 != buflen) - strcat (buf, ";"); + strcat (buf, delim); strcat (buf, app); return buf; } diff --git a/src/proj.h b/src/proj.h index a39d3150e9..2edcdc271b 100644 --- a/src/proj.h +++ b/src/proj.h @@ -277,7 +277,8 @@ struct PJ_INFO { const char *version; /* Full version number */ const char *searchpath; /* Paths where init and grid files are */ /* looked for. Paths are separated by */ - /* semi-colons. */ + /* semi-colons on Windows, and colons */ + /* on non-Windows platforms. */ const char * const *paths; size_t path_count; };