mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-13 01:08:41 -09:00
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
This commit is contained in:
parent
c306d3fe3b
commit
4fdebc82d5
1 changed files with 4 additions and 1 deletions
|
|
@ -171,7 +171,10 @@ void drawBrowser(int change) {
|
||||||
attroff(A_REVERSE);
|
attroff(A_REVERSE);
|
||||||
|
|
||||||
mvhline(1, 0, '-', wincols);
|
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 */
|
/* make sure the items are in correct order */
|
||||||
if(!(bflags & BF_SORT)) {
|
if(!(bflags & BF_SORT)) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue