foxygit / doom Log in
commit 4c069fef88660e494fb1d15f8d1475087bd06308
Author:     Turo Lamminen <turotl@gmail.com>
AuthorDate: Tue Mar 20 18:30:19 2018 +0200
Commit:     Turo Lamminen <turotl@gmail.com>
CommitDate: Tue Mar 20 19:02:45 2018 +0200

    textscreen: Fix one more variant of TXT_SelectFile

    It's unused but in case someone wants to turn it back on.
---
 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 7bcbac29..e88759f3 100644
--- a/textscreen/txt_fileselect.c
+++ b/textscreen/txt_fileselect.c
@@ -282,7 +282,7 @@ static char *SelectDirectory(char *window_title)
     return result;
 }

-char *TXT_SelectFile(char *window_title, char **extensions)
+char *TXT_SelectFile(const char *window_title, char **extensions)
 {
     OPENFILENAME fm;
     char selected[MAX_PATH] = "";