ref: 19a0939300f332e32e6dfc05889651f91e7663c0
parent: 49b5751693974214848439b429667a82254f5606
author: Turo Lamminen <turotl@gmail.com>
date: Tue Mar 6 15:12:40 EST 2018
Make TXT_NewWindow parameter const
--- a/textscreen/txt_window.c
+++ b/textscreen/txt_window.c
@@ -52,7 +52,7 @@
}
}
-txt_window_t *TXT_NewWindow(char *title)
+txt_window_t *TXT_NewWindow(const char *title)
{
int i;
--- a/textscreen/txt_window.h
+++ b/textscreen/txt_window.h
@@ -100,7 +100,7 @@
* representing the new window.
*/
-txt_window_t *TXT_NewWindow(char *title);
+txt_window_t *TXT_NewWindow(const char *title);
/**
* Close a window.