mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
fix loading of long filenames
This commit is contained in:
parent
0e601b3db4
commit
287256a626
@ -1301,8 +1301,8 @@ namespace netgen
|
||||
static char buf[10];
|
||||
|
||||
if (parameters.StringFlagDefined (argv[1]))
|
||||
Tcl_SetResult (interp,
|
||||
(char*)parameters.GetStringFlag (argv[1], NULL).c_str(), TCL_STATIC);
|
||||
Tcl_SetResult (interp,
|
||||
const_cast<char*>(parameters.GetStringFlag (argv[1], NULL).c_str()), TCL_VOLATILE);
|
||||
else if (parameters.NumFlagDefined (argv[1]))
|
||||
{
|
||||
sprintf (buf, "%lf", parameters.GetNumFlag (argv[1], 0));
|
||||
|
Loading…
Reference in New Issue
Block a user