summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2022-10-26 18:04:20 +0200
committerRay <[email protected]>2022-10-26 18:04:20 +0200
commit28e8b2add38098aee2b55243af4f3a62f2cd60c4 (patch)
tree57357209f64695f5f7b5f35570f924052bde973d
parentbcb47255b98773a1f5e810c5a1944ffa968d4d97 (diff)
downloadraylib-28e8b2add38098aee2b55243af4f3a62f2cd60c4.tar.gz
raylib-28e8b2add38098aee2b55243af4f3a62f2cd60c4.zip
REVIEWED: Issue with `OpenURL()`
-rw-r--r--src/rcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c
index d5823ad0..b75b53b4 100644
--- a/src/rcore.c
+++ b/src/rcore.c
@@ -3411,7 +3411,7 @@ void OpenURL(const char *url)
else
{
#if defined(PLATFORM_DESKTOP)
- char *cmd = (char *)RL_CALLOC(strlen(url) + 10, sizeof(char));
+ char *cmd = (char *)RL_CALLOC(strlen(url) + 32, sizeof(char));
#if defined(_WIN32)
sprintf(cmd, "explorer \"%s\"", url);
#endif