ide/project: Extra null check
authorJerome St-Louis <jerome@ecere.com>
Sat, 16 Feb 2013 05:52:31 +0000 (00:52 -0500)
committerJerome St-Louis <jerome@ecere.com>
Sat, 16 Feb 2013 05:52:31 +0000 (00:52 -0500)
ide/src/project/Project.ec

index c9a43c6..6c586f4 100644 (file)
@@ -1248,7 +1248,7 @@ private:
       char temp[MAX_LOCATION];
       bool result = false;
       strcpy(cfDir, topNode.path);
-      if(ideSettings.compilerConfigsDir && ideSettings.compilerConfigsDir[0])
+      if(ideSettings && ideSettings.compilerConfigsDir && ideSettings.compilerConfigsDir[0])
       {
          PathCatSlash(cfDir, ideSettings.compilerConfigsDir);
          result = true;