Trim trailing whitespace

This commit is contained in:
a1346054
2022-10-12 23:38:43 +00:00
parent 22c43c5523
commit 56c9348372

View File

@@ -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;