diff options
Diffstat (limited to 'storage/connect/tabmul.cpp')
-rwxr-xr-x | storage/connect/tabmul.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/connect/tabmul.cpp b/storage/connect/tabmul.cpp index 6e4a63d0f6d..4b40e6c5509 100755 --- a/storage/connect/tabmul.cpp +++ b/storage/connect/tabmul.cpp @@ -680,7 +680,7 @@ char* TDBDIR::Path(PGLOBAL g) #if defined(WIN32) if (!*Drive) { - PlugSetPath(Fpath, To_File, cat->GetDataPath()); + PlugSetPath(Fpath, To_File, ((PTABDEF)To_Def)->GetPath()); _splitpath(Fpath, Drive, Direc, Fname, Ftype); } else _makepath(Fpath, Drive, Direc, Fname, Ftype); // Usefull ??? @@ -688,7 +688,7 @@ char* TDBDIR::Path(PGLOBAL g) return Fpath; #else // !WIN32 if (!Done) { - PlugSetPath(Fpath, To_File, cat->GetDataPath()); + PlugSetPath(Fpath, To_File, ((PTABDEF)To_Def)->GetPath()); _splitpath(Fpath, NULL, Direc, Fname, Ftype); strcat(strcpy(Pattern, Fname), Ftype); Done = true; |