1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00

Projucer: Fixed a bug in the GUI builder's relative #include path when adding Viewport content

This commit is contained in:
ed 2018-05-21 09:04:10 +01:00
parent a4c51494bf
commit 783b6b7baf

View file

@ -152,10 +152,9 @@ public:
if (doc != nullptr)
{
code.includeFilesCPP.add (doc->getHeaderFile()
.getRelativePathFrom (code.document->getCppFile().getParentDirectory())
.replaceCharacter ('\\', '/'));
code.includeFilesCPP.add (File::createFileWithoutCheckingPath (doc->getHeaderFile()
.getRelativePathFrom (code.document->getCppFile().getParentDirectory())
.replaceCharacter ('\\', '/')));
classNm = doc->getClassName();
}
else