Explicit conversion of pathname components to String objects.
[AXE.git] / src / filedialog.h
index 536a939..2fc426f 100644 (file)
@@ -58,7 +58,7 @@ public:
 
    String PathName()
    {
-      return *diredit + "/" + *fileedit;
+      return String(*diredit) + "/" + String(*fileedit);
    }
 
    virtual int DoCommand(int code);