fixed inverted directory-test logic in IOobject.C

This commit is contained in:
Mark Olesen
2009-07-09 08:57:59 +02:00
committed by andy
parent 222d3e41f6
commit 0fa8ffcf7a

View File

@ -58,7 +58,7 @@ bool Foam::IOobject::IOobject::fileNameComponents
name.clear();
// called with directory
if (!isDir(path))
if (isDir(path))
{
WarningIn("IOobject::fileNameComponents(const fileName&, ...)")
<< " called with directory: " << path << "\n";