diff --git a/ChangeLog b/ChangeLog index 97b59019f6371a6a6786fbd6daa8bca6905aad0a..8ead7f235b7fa0f330d3fc78f1c465f8c7386096 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ svn - ? + - Fixed incorrect apparent size on directory refresh + +1.4 - 2008-09-10 - Removed the startup window - Filenames ending with a tidle (~) will now also be hidden with the 'h'-key diff --git a/src/browser.c b/src/browser.c index c6b4eee94258ed458a4eab29471489e410e81394..1a034046aa3a236ceae70c89db730ac82f7db35a 100644 --- a/src/browser.c +++ b/src/browser.c @@ -419,12 +419,14 @@ void showBrowser(void) { bcur->sub = n->sub; bcur->items = n->items; bcur->size = n->size; + bcur->asize = n->asize; for(t = bcur->sub; t != NULL; t = t->next) t->parent = bcur; /* update sizes of parent dirs */ for(t = bcur; (t = t->parent) != NULL; ) { t->size += bcur->size; + t->asize += bcur->asize; t->items += bcur->items; }