From eb7837bc3ebf61697484f6995be93f83d404bff5 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:41:02 +0200 Subject: [PATCH] Increase filename buffer length The mapeditor filedialog is big enough to show longer filenames than 20 characters. --- Editor/LoadScreen.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/LoadScreen.h b/Editor/LoadScreen.h index c8adac4c..24518194 100644 --- a/Editor/LoadScreen.h +++ b/Editor/LoadScreen.h @@ -1,7 +1,7 @@ #include "BuildDefines.h" #include "Fileman.h" -#define FILENAME_BUFLEN (20 + 4 + 1)//dnl ch39 190909 +4 is for ".dat", +1 is for '\0' //dnl ch81 021213 +#define FILENAME_BUFLEN (30 + 4 + 1)//dnl ch39 190909 +4 is for ".dat", +1 is for '\0' //dnl ch81 021213 #ifdef JA2EDITOR