diff options
Diffstat (limited to 'miscutils/man.c')
-rw-r--r-- | miscutils/man.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/miscutils/man.c b/miscutils/man.c index 611466349..236fdcebd 100644 --- a/miscutils/man.c +++ b/miscutils/man.c | |||
@@ -204,7 +204,11 @@ int man_main(int argc UNUSED_PARAM, char **argv) | |||
204 | char *next_path; | 204 | char *next_path; |
205 | char **path_element; | 205 | char **path_element; |
206 | 206 | ||
207 | #if ENABLE_PLATFORM_MINGW32 | ||
208 | next_path = next_path_sep(path); | ||
209 | #else | ||
207 | next_path = strchr(path, ':'); | 210 | next_path = strchr(path, ':'); |
211 | #endif | ||
208 | if (next_path) { | 212 | if (next_path) { |
209 | *next_path = '\0'; | 213 | *next_path = '\0'; |
210 | if (next_path++ == path) /* "::"? */ | 214 | if (next_path++ == path) /* "::"? */ |