ref: 592edc0d87486097c0bda044db144a4961a6ff7d
parent: 10fda2ac5343389de295bfa69aea4c4b0a366f5f
author: Turo Lamminen <turotl@gmail.com>
date: Tue Mar 13 15:30:44 EDT 2018
Make TXT_OpenURL parameter const
--- a/textscreen/txt_window.c
+++ b/textscreen/txt_window.c
@@ -515,7 +515,7 @@
#ifdef _WIN32
-void TXT_OpenURL(char *url)
+void TXT_OpenURL(const char *url)
{
ShellExecute(NULL, "open", url, NULL, NULL, SW_SHOWNORMAL);
}
@@ -522,7 +522,7 @@
#else
-void TXT_OpenURL(char *url)
+void TXT_OpenURL(const char *url)
{
char *cmd;
size_t cmd_len;