aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2019-02-14 00:06:05 +0100
committerRay <raysan5@gmail.com>2019-02-14 00:06:05 +0100
commitbc86b0f78b3f901ddc688f55915d260359f0da15 (patch)
treee7ebab76e92f99838c224ad9553fb0ef8f59865a /src
parent981be58d0330657d9f7533aec8185b6b743d6405 (diff)
downloadraylib-bc86b0f78b3f901ddc688f55915d260359f0da15.tar.gz
raylib-bc86b0f78b3f901ddc688f55915d260359f0da15.zip
Corrected path issue
Diffstat (limited to 'src')
-rw-r--r--src/core.c4
1 files 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