Make TXT_NewWindow parameter const

This commit is contained in:
Turo Lamminen 2018-03-06 20:12:40 +02:00
parent 49b5751693
commit 19a0939300
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ void TXT_SetWindowAction(txt_window_t *window,
} }
} }
txt_window_t *TXT_NewWindow(char *title) txt_window_t *TXT_NewWindow(const char *title)
{ {
int i; int i;

View file

@ -100,7 +100,7 @@ struct txt_window_s
* representing the new window. * representing the new window.
*/ */
txt_window_t *TXT_NewWindow(char *title); txt_window_t *TXT_NewWindow(const char *title);
/** /**
* Close a window. * Close a window.