From bc86b0f78b3f901ddc688f55915d260359f0da15 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 14 Feb 2019 00:06:05 +0100 Subject: [PATCH] Corrected path issue --- src/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core.c b/src/core.c index 0fdb195a..67357ce9 100644 --- a/src/core.c +++ b/src/core.c @@ -3278,9 +3278,9 @@ static void KeyCallback(GLFWwindow *window, int key, int scancode, int action, i char path[512] = { 0 }; #if defined(PLATFORM_ANDROID) strcpy(path, internalDataPath); - strcat(path, TextFormat("/screenrec%03i.gif", screenshotCounter)); + strcat(path, TextFormat("./screenrec%03i.gif", screenshotCounter)); #else - strcpy(path, TextFormat("/screenrec%03i.gif", screenshotCounter)); + strcpy(path, TextFormat("./screenrec%03i.gif", screenshotCounter)); #endif // NOTE: delay represents the time between frames in the gif, if we capture a gif frame every