|
|
commit d604c37c90404958bce4fe2a8c87f7fd79e68074
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Fri Jan 27 08:35:38 2023 +0100
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Fri Jan 27 08:35:38 2023 +0100
Fix for [fltk.coredev] native file chooser crash
src/Fl_Native_File_Chooser_Zenity.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/Fl_Native_File_Chooser_Zenity.cxx src/Fl_Native_File_Chooser_Zenity.cxx
index 9d79e62..ae972de 100644
--- src/Fl_Native_File_Chooser_Zenity.cxx
+++ src/Fl_Native_File_Chooser_Zenity.cxx
@@ -66,7 +66,7 @@ char *Fl_Zenity_Native_File_Chooser_Driver::build_command() {
preset = new char[l];
snprintf(preset, l, "--filename '%s'", _directory);
}
- int lcommand = 1000;
+ int lcommand = 10000;
char *command = new char[lcommand];
strcpy(command, "zenity ");
if (_title) {
[ Direct Link to Message ] | |
|
| |