aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libbb/lineedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 77207a427..e0c0a17dc 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -2273,7 +2273,7 @@ static void parse_and_put_prompt(const char *prmt_ptr)
2273 if (c == 'w') 2273 if (c == 'w')
2274 break; 2274 break;
2275 cp = strrchr(pbuf, '/'); 2275 cp = strrchr(pbuf, '/');
2276 if (cp) 2276 if (cp IF_PLATFORM_MINGW32(&& cp[1]))
2277 pbuf = (char*)cp + 1; 2277 pbuf = (char*)cp + 1;
2278 break; 2278 break;
2279// bb_process_escape_sequence does this now: 2279// bb_process_escape_sequence does this now: