diff --git a/tasks/task_screenshot.c b/tasks/task_screenshot.c index caa0cccff1..d6e4081a80 100644 --- a/tasks/task_screenshot.c +++ b/tasks/task_screenshot.c @@ -182,7 +182,7 @@ static bool take_screenshot_raw(void) video_driver_cached_frame_get(&data, &width, &height, &pitch); - if (!*settings->directory.screenshot) + if (string_is_empty(settings->directory.screenshot)) { global_t *global = global_get_ptr(); fill_pathname_basedir(screenshot_path, global->name.base,