diff options
Diffstat (limited to 'src/setup.c')
| -rw-r--r-- | src/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setup.c b/src/setup.c index f09a908..83c5504 100644 --- a/src/setup.c +++ b/src/setup.c @@ -329,7 +329,7 @@ find_design_directory (TGallerySetup *setup) if (IS_DIR_SEP (*setup->design_setup_file)) { pth = g_path_get_dirname (setup->design_setup_file); - if (g_access (pth, R_OK)) + if (g_access (pth, R_OK) == 0) return pth; } else { base_dir = g_path_get_dirname (setup->setup_xml_path); |
