libede: fix to FileSystemNode::GetPath for nodes that specify a path
authorRejean Loyer <rejean.loyer@gmail.com>
Fri, 16 Sep 2011 16:20:32 +0000 (12:20 -0400)
committerRejean Loyer <rejean.loyer@gmail.com>
Fri, 16 Sep 2011 16:20:32 +0000 (12:20 -0400)
libede/src/FileSystemBox.ec

index 9744ae1..cbf2189 100644 (file)
@@ -1881,12 +1881,15 @@ public:
          }
       }
       else
          }
       }
       else
+      {
 /*#ifdef __WIN32__
          strcpy(outputPath, "/");
 #else*/
 /*#ifdef __WIN32__
          strcpy(outputPath, "/");
 #else*/
-         strcpy(outputPath, name);
+         //strcpy(outputPath, name);
+         strcpy(outputPath, path);
+         PathCat(outputPath, name);
 //#endif
 //#endif
-
+      }
    }
 
    bool IsChildOf(FileSystemNode node)
    }
 
    bool IsChildOf(FileSystemNode node)