installer: Fix for not adding paths for libVanilla and extras
authorJerome St-Louis <jerome@ecere.com>
Thu, 8 Mar 2012 04:13:01 +0000 (23:13 -0500)
committerJerome St-Louis <jerome@ecere.com>
Thu, 8 Mar 2012 04:13:01 +0000 (23:13 -0500)
installer/src/installer.ec

index 32553ba..e1755aa 100644 (file)
@@ -1079,8 +1079,10 @@ void ModifyPath(char * newPath)
    for(c = 0; coreSDK[c].name; c++)
    {
       char path[MAX_LOCATION];
+      if(c == extras || c == vanilla) continue;
+
       coreSDK[c].GetFullPath(path);
-      if(c != ide && c != runtime && c != eda && c != ec && c !=extras && c != vanilla)
+      if(c != ide && c != runtime && c != eda && c != ec)
       {
 #ifndef NOMINGW
          if(!pathOptions[PathOptions::AddMinGWPaths].selected)