aboutsummaryrefslogtreecommitdiffstats
path: root/screenshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'screenshot.c')
-rw-r--r--screenshot.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/screenshot.c b/screenshot.c
index 2c74942..454de5e 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -305,9 +305,6 @@ int screenshot(SDL_Surface *surf)
struct allocable a;
int rv, err;
- if (!screen_path)
- return 0; /* Screenshots disabled? */
-
memset(&a, 0, sizeof a);
rv = do_screenshot(surf, &a);
err = errno;