ide/Project: Fixed a crash in LegacyLoad introduced by eff6d0cfcbf71a54870f8a965174bb...
authorJerome St-Louis <jerome@ecere.com>
Wed, 2 Jul 2014 00:33:29 +0000 (20:33 -0400)
committerJerome St-Louis <jerome@ecere.com>
Wed, 2 Jul 2014 00:33:29 +0000 (20:33 -0400)
ide/src/project/Project.ec

index 0baa9ff..4cf6658 100644 (file)
@@ -4029,12 +4029,11 @@ void ProjectConfig::LegacyProjectConfigLoad(File f)
 Project LegacyAsciiLoadProject(File f, const char * filePath)
 {
    Project project = null;
-   //ProjectNode node = null;
    int pos;
    char parentPath[MAX_LOCATION];
    char section[128] = "";
    char subSection[128] = "";
-   ProjectNode parent = project.topNode;
+   ProjectNode parent = null;
    bool configurationsPresent = false;
 
    f.Seek(0, start);