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