mirror of
https://code.blicky.net/yorhel/ncdu.git
synced 2026-01-12 17:08:39 -09:00
Bugfix: total disk usage and apparent size in the status bar were always equal
git-svn-id: svn://blicky.net/ncdu/trunk@30 ce56bc8d-f834-0410-b703-f827bd498a76
This commit is contained in:
parent
abeb59fe30
commit
6b05cc9f72
1 changed files with 2 additions and 1 deletions
|
|
@ -165,8 +165,9 @@ void drawBrowser(int change) {
|
|||
mvhline(winrows-1, 0, ' ', wincols);
|
||||
mvprintw(0,0,"%s %s ~ Use the arrow keys to navigate, press ? for help", PACKAGE_NAME, PACKAGE_VERSION);
|
||||
|
||||
strcpy(tmp, cropsize(bcur->parent->size));
|
||||
mvprintw(winrows-1, 0, " Total disk usage: %s Apparent size: %s Items: %d",
|
||||
cropsize(bcur->parent->size), cropsize(bcur->parent->asize), bcur->parent->items);
|
||||
tmp, cropsize(bcur->parent->asize), bcur->parent->items);
|
||||
attroff(A_REVERSE);
|
||||
|
||||
mvhline(1, 0, '-', wincols);
|
||||
|
|
|
|||
Loading…
Reference in a new issue