Some TODOs and format reviews
This commit is contained in:
parent
cf5e84c3c4
commit
e1b9857b14
1 changed files with 154 additions and 191 deletions
|
|
@ -939,7 +939,7 @@ void SetWindowIcon(Image image)
|
|||
// Set icon for window
|
||||
void SetWindowIcons(Image *images, int count)
|
||||
{
|
||||
// TODO.
|
||||
// TODO: Implement SetWindowIcons()
|
||||
}
|
||||
|
||||
void SetWindowTitle(const char *title)
|
||||
|
|
@ -1246,7 +1246,11 @@ void OpenURL(const char *url)
|
|||
if (strchr(url, '\'') != NULL) TRACELOG(LOG_WARNING, "SYSTEM: Provided URL could be potentially malicious, avoid [\'] character");
|
||||
else
|
||||
{
|
||||
TRACELOG(LOG_WARNING, "OpenURL not implemented");
|
||||
char *cmd = (char *)RL_CALLOC(strlen(url) + 32, sizeof(char));
|
||||
sprintf(cmd, "explorer \"%s\"", url);
|
||||
int result = system(cmd);
|
||||
if (result == -1) TRACELOG(LOG_WARNING, "OpenURL() child process could not be created");
|
||||
RL_FREE(cmd);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue