aboutsummaryrefslogtreecommitdiff
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 d3e832bd7..429898643 100644
--- a/miscutils/man.c
+++ b/miscutils/man.c
@@ -198,7 +198,11 @@ int man_main(int argc UNUSED_PARAM, char **argv)
198 char *next_path; 198 char *next_path;
199 char **path_element; 199 char **path_element;
200 200
201#if ENABLE_PLATFORM_MINGW32
202 next_path = next_path_sep(path);
203#else
201 next_path = strchr(path, ':'); 204 next_path = strchr(path, ':');
205#endif
202 if (next_path) { 206 if (next_path) {
203 *next_path = '\0'; 207 *next_path = '\0';
204 if (next_path++ == path) /* "::"? */ 208 if (next_path++ == path) /* "::"? */