aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2018-09-20 00:55:27 -0700
committerH. Peter Anvin <hpa@zytor.com>2018-09-20 00:55:27 -0700
commit633a125ec362f0a8938be03891bb32c2e2a21cb9 (patch)
treecaccbafc1127ea8284c4a9c1896e5097c87155c3
parentbd9e555cab36920647a9b7b98a8b5fe66ba58ed1 (diff)
downloadabc80sim-633a125ec362f0a8938be03891bb32c2e2a21cb9.tar.gz
abc80sim-633a125ec362f0a8938be03891bb32c2e2a21cb9.tar.xz
abc80sim-633a125ec362f0a8938be03891bb32c2e2a21cb9.zip
Unbreak screenshots in the current directory
-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;