# HG changeset patch # User zas_ # Date 1208292374 0 # Node ID a264519f1c21e5d7adef255b589799790a5cced1 # Parent 61a3c8b05b249131139360d5d5ea03dd88cea78c Fix a bug that was here since a long time, buf has nothing to do with options->layout.order, so compare it to l_conf instead. It fixes refreshing of files and directories lists when changing filtering options. diff -r 61a3c8b05b24 -r a264519f1c21 src/preferences.c --- a/src/preferences.c Tue Apr 15 20:36:11 2008 +0000 +++ b/src/preferences.c Tue Apr 15 20:46:14 2008 +0000 @@ -295,7 +295,7 @@ if (new_style != options->layout.style || (l_conf == NULL) != (options->layout.order == NULL) || !options->layout.order || - strcmp(buf, options->layout.order) != 0) + strcmp(l_conf, options->layout.order) != 0) { if (refresh) filter_rebuild(); refresh = FALSE;