ref: 0c4fe5bbe5efbef063e0d94b29cc2cc059fab654
parent: 061a1dee44b9a8da26d29b7d75ade2c129cb23e0
author: Turo Lamminen <turotl@gmail.com>
date: Tue Mar 27 15:21:38 EDT 2018
Make TXT_NewFileSelector prompt parameter const
--- a/textscreen/txt_fileselect.c
+++ b/textscreen/txt_fileselect.c
@@ -808,7 +808,7 @@
}
txt_fileselect_t *TXT_NewFileSelector(char **variable, int size,
- char *prompt, const char **extensions)
+ const char *prompt, const char **extensions)
{
txt_fileselect_t *fileselect;
--- a/textscreen/txt_fileselect.h
+++ b/textscreen/txt_fileselect.h
@@ -66,7 +66,7 @@
*/
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