diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-27 08:35:38 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-01-27 08:35:38 +0100 |
| commit | d604c37c90404958bce4fe2a8c87f7fd79e68074 (patch) | |
| tree | c607aa38579b7d0a7211b2027be1e0aac31a0198 /src/Fl_Native_File_Chooser_Zenity.cxx | |
| parent | e2028c66fea5fd3d4ee16de098ed596e8fc0688c (diff) | |
Fix for [fltk.coredev] native file chooser crash
Diffstat (limited to 'src/Fl_Native_File_Chooser_Zenity.cxx')
| -rw-r--r-- | src/Fl_Native_File_Chooser_Zenity.cxx | 2 |
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) { |
