Browse Source

REVIEWED: Issue with `OpenURL()`

pull/2783/head
Ray 2 years ago
parent
commit
28e8b2add3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rcore.c

+ 1
- 1
src/rcore.c View File

@ -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

Loading…
Cancel
Save