From 86a82a47f6f75fb1d9a5862e7d5d247077314d3e Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 17 May 2016 15:04:28 +0200 Subject: [PATCH] (task_screenshot.c) Another cleanup --- 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 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,