Attempt to fix: #1425: -I doesn't work properly in Windows

http://sourceforge.net/apps/trac/cppcheck/ticket/1425
This commit is contained in:
Reijo Tomperi 2010-02-23 21:28:40 +02:00
parent 40bb5144e1
commit edf76c77fa
1 changed files with 2 additions and 0 deletions

View File

@ -1291,6 +1291,8 @@ void Preprocessor::handleIncludes(std::string &code, const std::string &filename
fileOpened = true;
break;
}
fin.clear();
}
if (headerType == 1 && !fileOpened)