Make TXT_NewWindow parameter const
This commit is contained in:
parent
49b5751693
commit
19a0939300
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ struct txt_window_s
|
|||
* representing the new window.
|
||||
*/
|
||||
|
||||
txt_window_t *TXT_NewWindow(char *title);
|
||||
txt_window_t *TXT_NewWindow(const char *title);
|
||||
|
||||
/**
|
||||
* Close a window.
|
||||
|
|
|
|||
Loading…
Reference in a new issue