(task_screenshot.c) Another cleanup

This commit is contained in:
twinaphex 2016-05-17 15:04:28 +02:00
parent df3547c65f
commit 86a82a47f6

View File

@ -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,