Skip to content
Snippets Groups Projects
Commit 6b05cc9f authored by yorhel's avatar yorhel
Browse files

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
parent abeb59fe
No related branches found
No related tags found
No related merge requests found
...@@ -165,8 +165,9 @@ void drawBrowser(int change) { ...@@ -165,8 +165,9 @@ void drawBrowser(int change) {
mvhline(winrows-1, 0, ' ', wincols); mvhline(winrows-1, 0, ' ', wincols);
mvprintw(0,0,"%s %s ~ Use the arrow keys to navigate, press ? for help", PACKAGE_NAME, PACKAGE_VERSION); 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", 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); attroff(A_REVERSE);
mvhline(1, 0, '-', wincols); mvhline(1, 0, '-', wincols);
......
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