Skip to content
Snippets Groups Projects
Commit 4fdebc82 authored by yorhel's avatar yorhel
Browse files

Added spaces around the path in browser.c (debian bug #472194)

git-svn-id: svn://blicky.net/ncdu/trunk@38 ce56bc8d-f834-0410-b703-f827bd498a76
parent c306d3fe
No related branches found
No related tags found
No related merge requests found
......@@ -171,7 +171,10 @@ void drawBrowser(int change) {
attroff(A_REVERSE);
mvhline(1, 0, '-', wincols);
mvaddstr(1, 3, cropdir(getpath(bcur, tmp), wincols-5));
mvaddch(1, 3, ' ');
getpath(bcur, tmp);
mvaddstr(1, 4, cropdir(tmp, wincols-8));
mvaddch(1, 4+(strlen(tmp) > wincols-8 ? wincols-8 : strlen(tmp)), ' ');
/* make sure the items are in correct order */
if(!(bflags & BF_SORT)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment