From 1d93801019740d21a770d253ec904be7cdb52de8 Mon Sep 17 00:00:00 2001 From: OBattler Date: Sat, 6 May 2017 22:44:45 +0200 Subject: [PATCH] Hopefully fixed the file name of the saved screenshots. --- src/VIDEO/video.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VIDEO/video.c b/src/VIDEO/video.c index 20352cdb5..c7c1a31b8 100644 --- a/src/VIDEO/video.c +++ b/src/VIDEO/video.c @@ -702,7 +702,7 @@ void take_screenshot() if (vid_api == 1) { wcsftime(screenshot_fn_partial, 2048, L"screenshots\\%Y%m%d_%H%M%S.png", info); - append_filename(screenshot_fn, pcempath, screenshot_fn_partial, 4095); + append_filename_w(screenshot_fn, pcempath, screenshot_fn_partial, 4095); if (video_fullscreen) { d3d_fs_take_screenshot(screenshot_fn); @@ -715,8 +715,8 @@ void take_screenshot() } else if (vid_api == 0) { - strftime(screenshot_fn_partial, 1024, "screenshots\\%Y%m%d_%H%M%S.bmp", info); - append_filename(screenshot_fn, pcempath, screenshot_fn_partial, 4095); + wcsftime(screenshot_fn_partial, 2048, L"screenshots\\%Y%m%d_%H%M%S.bmp", info); + append_filename_w(screenshot_fn, pcempath, screenshot_fn_partial, 4095); if (video_fullscreen) { ddraw_fs_take_screenshot(screenshot_fn);