Mercurial > geeqie
changeset 374:a264519f1c21
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.
author | zas_ |
---|---|
date | Tue, 15 Apr 2008 20:46:14 +0000 |
parents | 61a3c8b05b24 |
children | 612b39ee9a7e |
files | src/preferences.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;