summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-27 08:35:38 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-01-27 08:35:38 +0100
commitd604c37c90404958bce4fe2a8c87f7fd79e68074 (patch)
treec607aa38579b7d0a7211b2027be1e0aac31a0198 /src
parente2028c66fea5fd3d4ee16de098ed596e8fc0688c (diff)
Fix for [fltk.coredev] native file chooser crash
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Native_File_Chooser_Zenity.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Native_File_Chooser_Zenity.cxx b/src/Fl_Native_File_Chooser_Zenity.cxx
index 9d79e628c..ae972de1d 100644
--- a/src/Fl_Native_File_Chooser_Zenity.cxx
+++ b/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) {