summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.c')
-rw-r--r--src/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c
index 95721405..16b13934 100644
--- a/src/core.c
+++ b/src/core.c
@@ -4494,7 +4494,7 @@ static void ProcessKeyboard(void)
// Check screen capture key (raylib key: KEY_F12)
if (CORE.Input.Keyboard.currentKeyState[301] == 1)
{
- TakeScreenshot(FormatText("screenshot%03i.png", screenshotCounter));
+ TakeScreenshot(TextFormat("screenshot%03i.png", screenshotCounter));
screenshotCounter++;
}
#endif
@@ -4898,7 +4898,7 @@ static void *EventThread(void *arg)
// Check screen capture key (raylib key: KEY_F12)
if (CORE.Input.Keyboard.currentKeyState[301] == 1)
{
- TakeScreenshot(FormatText("screenshot%03i.png", screenshotCounter));
+ TakeScreenshot(TextFormat("screenshot%03i.png", screenshotCounter));
screenshotCounter++;
}
#endif