Trim trailing whitespace
This commit is contained in:
@@ -160,8 +160,8 @@ static void mvaddstr_truncate_cmdline(int row, int col, const char *progname,
|
|||||||
if (showBasename) {
|
if (showBasename) {
|
||||||
if (index(progname, FILE_SEPARATOR) != NULL) {
|
if (index(progname, FILE_SEPARATOR) != NULL) {
|
||||||
progname = rindex(progname, FILE_SEPARATOR) + 1;
|
progname = rindex(progname, FILE_SEPARATOR) + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::size_t proglen = strlen(progname);
|
std::size_t proglen = strlen(progname);
|
||||||
std::size_t max_cmdlen;
|
std::size_t max_cmdlen;
|
||||||
|
|||||||
Reference in New Issue
Block a user