diff options
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 938e44d350..8efccf5549 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -359,6 +359,7 @@ static int update_dir(void) | |||
359 | else | 359 | else |
360 | #endif | 360 | #endif |
361 | { | 361 | { |
362 | tc.sort_dir = global_settings.sort_dir; | ||
362 | /* if the tc.currdir has been changed, reload it ...*/ | 363 | /* if the tc.currdir has been changed, reload it ...*/ |
363 | if (strncmp(tc.currdir, lastdir, sizeof(lastdir)) || reload_dir) | 364 | if (strncmp(tc.currdir, lastdir, sizeof(lastdir)) || reload_dir) |
364 | { | 365 | { |