From 92e5631968418dc45dda166dd44bbab7a227e8db Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 10 May 2018 16:59:34 +0100 Subject: [PATCH] Fixed a bug in the DemoRunner on Mac causing the demo code to not be displayed --- examples/DemoRunner/Source/Demos/JUCEDemos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/DemoRunner/Source/Demos/JUCEDemos.cpp b/examples/DemoRunner/Source/Demos/JUCEDemos.cpp index 08a01f47bb..ccc7fd88b0 100644 --- a/examples/DemoRunner/Source/Demos/JUCEDemos.cpp +++ b/examples/DemoRunner/Source/Demos/JUCEDemos.cpp @@ -53,7 +53,7 @@ void JUCEDemos::registerDemo (std::function constructorCallback, c { #if JUCE_MAC auto f = File::getSpecialLocation (File::currentExecutableFile) - .getParentDirectory().getParentDirectory().getChildFile ("Resources").getChildFile (filePath); + .getParentDirectory().getParentDirectory().getChildFile ("Resources"); #else auto f = findExamplesDirectoryFromExecutable (File::getSpecialLocation (File::currentApplicationFile)); #endif