Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Feb 25, 2022
2 parents 073fc07 + 01e4357 commit 820423d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/c_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -2620,11 +2620,11 @@ static void god_cmd_func2(char *cmd, char *parms)
static void help_cmd_func2(char *cmd, char *parms)
{
#if defined(_WIN32)
ShellExecute(NULL, "open", DOOMRETRO_WIKIURL, NULL, NULL, SW_SHOWNORMAL);
(VOID)ShellExecute(NULL, "open", DOOMRETRO_WIKIURL, NULL, NULL, SW_SHOWNORMAL);
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__HAIKU__)
system("xdg-open " DOOMRETRO_WIKIURL);
(void)system("xdg-open " DOOMRETRO_WIKIURL);
#elif defined(__APPLE__)
system("open " DOOMRETRO_WIKIURL);
(void)system("open " DOOMRETRO_WIKIURL);
#endif
}

Expand Down Expand Up @@ -3137,11 +3137,11 @@ static void kill_cmd_func2(char *cmd, char *parms)
static void license_cmd_func2(char *cmd, char *parms)
{
#if defined(_WIN32)
ShellExecute(NULL, "open", DOOMRETRO_WIKILICENSEURL, NULL, NULL, SW_SHOWNORMAL);
(VOID)ShellExecute(NULL, "open", DOOMRETRO_WIKILICENSEURL, NULL, NULL, SW_SHOWNORMAL);
#elif defined(__linux__)
system("xdg-open " DOOMRETRO_WIKILICENSEURL);
(void)system("xdg-open " DOOMRETRO_WIKILICENSEURL);
#elif defined(__APPLE__)
system("open " DOOMRETRO_WIKILICENSEURL);
(void)system("open " DOOMRETRO_WIKILICENSEURL);
#endif
}

Expand Down

0 comments on commit 820423d

Please sign in to comment.