From cf8783644df346e5f7762078fb1d9f0db2adc7e4 Mon Sep 17 00:00:00 2001 From: radius Date: Sat, 5 Aug 2017 13:57:24 -0500 Subject: [PATCH] allow screenshots into content dir via bool setting in addition of the empty string --- tasks/task_screenshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/task_screenshot.c b/tasks/task_screenshot.c index 990839e7f6..ac960cd049 100644 --- a/tasks/task_screenshot.c +++ b/tasks/task_screenshot.c @@ -211,7 +211,7 @@ static bool screenshot_dump( screenshot_path[0] = '\0'; - if (string_is_empty(screenshot_dir)) + if (string_is_empty(screenshot_dir) || settings->bools.screenshots_in_content_dir) { fill_pathname_basedir(screenshot_path, name_base, sizeof(screenshot_path));