From 2f5d313e543bab3894f4059267dfa29d9ce7cad9 Mon Sep 17 00:00:00 2001 From: hobbs Date: Fri, 18 Jul 2003 19:51:35 +0000 Subject: * win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K. This is a short-term solution until the -multiple option is extended. [Bug 641261] --- ChangeLog | 6 ++++++ win/tkWinDialog.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index ccceb62..68aa954 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-07-18 Jeff Hobbs + + * win/tkWinDialog.c: doubled the TK_MULTI_MAX_PATH value to ~10K. + This is a short-term solution until the -multiple option is + extended. [Bug 641261] + 2003-07-18 Donal K. Fellows * tests/panedwindow.test (panedwindow-30.2): diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c index 327d0ad..7d6c443 100644 --- a/win/tkWinDialog.c +++ b/win/tkWinDialog.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkWinDialog.c,v 1.30 2003/01/14 01:20:55 mdejong Exp $ + * RCS: @(#) $Id: tkWinDialog.c,v 1.30.2.1 2003/07/18 19:51:35 hobbs Exp $ * */ @@ -119,10 +119,10 @@ static const struct {int type; int btnIds[3];} allowedTypes[] = { * be retrieved with tk_get*File -multiple 1. It must be allocated * on the stack, so make it large enough but not too large. -- hobbs * The data is stored as \0\0\0...\0\0. - * MAX_PATH == 260 on Win2K/NT. + * MAX_PATH == 260 on Win2K/NT, so *40 is ~10K. */ -#define TK_MULTI_MAX_PATH (MAX_PATH*20) +#define TK_MULTI_MAX_PATH (MAX_PATH*40) /* * The following structure is used to pass information between the directory -- cgit v0.12