From 28e8b2add38098aee2b55243af4f3a62f2cd60c4 Mon Sep 17 00:00:00 2001 From: Ray Date: Wed, 26 Oct 2022 18:04:20 +0200 Subject: [PATCH] REVIEWED: Issue with `OpenURL()` --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index d5823ad0b3aa..b75b53b4e6a0 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