summaryrefslogtreecommitdiff
path: root/miscutils/man.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/man.c')
-rw-r--r--miscutils/man.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/miscutils/man.c b/miscutils/man.c
index c39870e67..3f389b435 100644
--- a/miscutils/man.c
+++ b/miscutils/man.c
@@ -153,7 +153,11 @@ static char **add_MANPATH(char **man_path_list, int *count_mp, char *path)
153 char *next_path; 153 char *next_path;
154 char **path_element; 154 char **path_element;
155 155
156#if ENABLE_PLATFORM_MINGW32
157 next_path = next_path_sep(path);
158#else
156 next_path = strchr(path, ':'); 159 next_path = strchr(path, ':');
160#endif
157 if (next_path) { 161 if (next_path) {
158 if (next_path == path) /* "::"? */ 162 if (next_path == path) /* "::"? */
159 goto next; 163 goto next;