commit 90ded64b2b24fb64b31519769a8ceee986c75c44
Author: Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Mar 6 19:50:15 2018 +0200
Commit: Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Mar 13 19:33:51 2018 +0200
textscreen: Make ExpandExtension parameter const
---
textscreen/txt_fileselect.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/textscreen/txt_fileselect.c b/textscreen/txt_fileselect.c
index 6f6332a3..ddc00fed 100644
--- a/textscreen/txt_fileselect.c
+++ b/textscreen/txt_fileselect.c
@@ -523,7 +523,7 @@ int TXT_CanSelectFiles(void)
// return a pointer to a string that is a case-insensitive
// pattern representation (like [Ww][Aa][Dd])
//
-static char *ExpandExtension(char *orig)
+static char *ExpandExtension(const char *orig)
{
int oldlen, newlen, i;
char *c, *newext = NULL;