From 8a755682de471b164c4285c846a3ba6a43e7ebd0 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Thu, 29 Jan 2015 20:01:40 +0000 Subject: [PATCH] - port to MinGw : hardcoded user home folder. This must be fixed in future for portability git-svn-id: http://moon:8086/svn/software/trunk/projects/FsTrack@171 b431acfa-c32f-4a4a-93f1-934dc6c82436 --- Source/Main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Main.cpp b/Source/Main.cpp index 8dd7d35..e5f397c 100644 --- a/Source/Main.cpp +++ b/Source/Main.cpp @@ -8,7 +8,7 @@ ============================================================================== */ #include -#include +//#include #include "../JuceLibraryCode/JuceHeader.h" #include "MainComponent.h" @@ -70,9 +70,9 @@ public: DocumentWindow::allButtons) { PWSTR path; - SHGetKnownFolderPath(FOLDERID_Profile, 0, NULL, &path); +// SHGetKnownFolderPath(FOLDERID_Profile, 0, NULL, &path); - static String pathStr(path); + static String pathStr("C:\\Users\\jens"); setContentOwned (new MainComponent(pathStr), true); centreWithSize (getWidth(), getHeight());