Skip to content
Snippets Groups Projects
Commit c26f2383 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

little bug fix in genFilename. if no path given return filename.

[[Imported from SVN: r695]]
parent 7cafc844
No related branches found
No related tags found
No related merge requests found
......@@ -84,9 +84,9 @@ namespace Dune {
static char name[256];
char *cp;
if (path == NULL || path[0] == '\0')
if (path == 0 || path[0] == '\0')
{
sprintf(name, "./%s", fn);
sprintf(name, "%s", fn);
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment