summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {