summaryrefslogtreecommitdiff
path: root/src/fl_open_uri.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-12-19 21:20:10 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-12-19 21:20:10 +0000
commit9092dccab89901b7074f9340bc7984910a80128f (patch)
tree9c8d6ca2efa5c968060dc8b83afcec7daedfe764 /src/fl_open_uri.cxx
parentdc0c85b9644553ac9b5c51da43697b9906f9b44d (diff)
Changed all fixed filename buffers (that I could find) to use FL_PATH_MX instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_open_uri.cxx')
-rw-r--r--src/fl_open_uri.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fl_open_uri.cxx b/src/fl_open_uri.cxx
index 932a1e3f0..b093850d7 100644
--- a/src/fl_open_uri.cxx
+++ b/src/fl_open_uri.cxx
@@ -152,7 +152,7 @@ fl_open_uri(const char *uri, char *msg, int msglen) {
// BROWSER environment variables because we have no idea whether
// we need to run the listed commands in a terminal program.
- char command[1024], // Command to run...
+ char command[FL_PATH_MAX], // Command to run...
*argv[4], // Command-line arguments
remote[1024]; // Remote-mode command...
const char * const *commands; // Array of commands to check...