diff options
| author | Ray <[email protected]> | 2022-10-26 18:04:20 +0200 |
|---|---|---|
| committer | Ray <[email protected]> | 2022-10-26 18:04:20 +0200 |
| commit | 28e8b2add38098aee2b55243af4f3a62f2cd60c4 (patch) | |
| tree | 57357209f64695f5f7b5f35570f924052bde973d | |
| parent | bcb47255b98773a1f5e810c5a1944ffa968d4d97 (diff) | |
| download | raylib-28e8b2add38098aee2b55243af4f3a62f2cd60c4.tar.gz raylib-28e8b2add38098aee2b55243af4f3a62f2cd60c4.zip | |
REVIEWED: Issue with `OpenURL()`
| -rw-r--r-- | src/rcore.c | 2 |
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 |
