Skip to content

Commit

Permalink
REVIEWED: Issue with OpenURL()
Browse files Browse the repository at this point in the history
  • Loading branch information
raysan5 committed Oct 26, 2022
1 parent bcb4725 commit 28e8b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 28e8b2a

Please sign in to comment.