libede: fix to FileSystemNode::GetPath for nodes that specify a path
[ede] / libede / src / FileSystemBox.ec
index 9744ae1..cbf2189 100644 (file)
@@ -1881,12 +1881,15 @@ public:
          }
       }
       else
+      {
 /*#ifdef __WIN32__
          strcpy(outputPath, "/");
 #else*/
-         strcpy(outputPath, name);
+         //strcpy(outputPath, name);
+         strcpy(outputPath, path);
+         PathCat(outputPath, name);
 //#endif
-
+      }
    }
 
    bool IsChildOf(FileSystemNode node)