diff options
Diffstat (limited to 'libbb/lineedit.c')
-rw-r--r-- | libbb/lineedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c index 1f2e6a54e..62f8949d6 100644 --- a/libbb/lineedit.c +++ b/libbb/lineedit.c | |||
@@ -1156,7 +1156,7 @@ static void parse_prompt(const char *prmt_ptr) | |||
1156 | #endif | 1156 | #endif |
1157 | case 'W': | 1157 | case 'W': |
1158 | pbuf = pwd_buf; | 1158 | pbuf = pwd_buf; |
1159 | cp = strrchr(pbuf,'/'); | 1159 | cp = strrchr(pbuf, '/'); |
1160 | if (cp != NULL && cp != pbuf) | 1160 | if (cp != NULL && cp != pbuf) |
1161 | pbuf += (cp-pbuf) + 1; | 1161 | pbuf += (cp-pbuf) + 1; |
1162 | break; | 1162 | break; |