diff --git a/tasks/task_screenshot.c b/tasks/task_screenshot.c index d6e4081a80..5b1a0c5cd2 100644 --- a/tasks/task_screenshot.c +++ b/tasks/task_screenshot.c @@ -150,7 +150,7 @@ static bool take_screenshot_viewport(void) screenshot_dir = settings->directory.screenshot; - if (!*settings->directory.screenshot) + if (string_is_empty(screenshot_dir)) { global_t *global = global_get_ptr(); fill_pathname_basedir(screenshot_path, global->name.base,