allow screenshots into content dir via bool setting in addition of the empty string

This commit is contained in:
radius 2017-08-05 13:57:24 -05:00
parent a4192bf99b
commit cf8783644d

View File

@ -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));