Make TXT_NewFileSelector prompt parameter const
This commit is contained in:
parent
061a1dee44
commit
0c4fe5bbe5
2 changed files with 2 additions and 2 deletions
|
|
@ -808,7 +808,7 @@ static void InputBoxChanged(TXT_UNCAST_ARG(widget), TXT_UNCAST_ARG(fileselect))
|
|||
}
|
||||
|
||||
txt_fileselect_t *TXT_NewFileSelector(char **variable, int size,
|
||||
char *prompt, const char **extensions)
|
||||
const char *prompt, const char **extensions)
|
||||
{
|
||||
txt_fileselect_t *fileselect;
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ char *TXT_SelectFile(const char *prompt, const char **extensions);
|
|||
*/
|
||||
|
||||
txt_fileselect_t *TXT_NewFileSelector(char **variable, int size,
|
||||
char *prompt, const char **extensions);
|
||||
const char *prompt, const char **extensions);
|
||||
|
||||
/**
|
||||
* Special value to use for 'extensions' that selects a directory
|
||||
|
|
|
|||
Loading…
Reference in a new issue