mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Merge branch 'master' into autotools-conversion
This commit is contained in:
commit
e481f4cb93
5 changed files with 12 additions and 19 deletions
|
|
@ -359,7 +359,7 @@ static int DefaultOutputString(ClientData clientData,
|
|||
|
||||
/* leave room for worst case expansion plus quotes plus null */
|
||||
pArgv = argv[1];
|
||||
stringLength = (3 * strlen(pArgv)) + 3;
|
||||
stringLength = (4 * strlen(pArgv)) + 3;
|
||||
|
||||
string = Tcl_Alloc(stringLength);
|
||||
memset(string, 0, stringLength);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue