From b449a9d4087c57391379628adbd63635562ff4f9 Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 11 Jul 2016 06:49:29 +0200 Subject: [PATCH] Fixes a newly introduced bug in video.c that prevented it from compiling. --- src/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video.c b/src/video.c index d66c6f475..1a6ac551b 100644 --- a/src/video.c +++ b/src/video.c @@ -467,7 +467,7 @@ void take_screenshot() if ((vid_api < 0) || (vid_api > 1)) return; time(&now); info = localtime(&now); - memset(fn, 0, 1024); + memset(screenshot_fn, 0, 1024); pclog("Video API is: %i\n", vid_api); if (vid_api == 1) {