diff options
Diffstat (limited to 'app/bin/dxfoutput.c')
-rw-r--r-- | app/bin/dxfoutput.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/app/bin/dxfoutput.c b/app/bin/dxfoutput.c index 91a822f..69c6df4 100644 --- a/app/bin/dxfoutput.c +++ b/app/bin/dxfoutput.c @@ -26,9 +26,6 @@ #ifdef WINDOWS #include <io.h> #include <windows.h> - #if _MSC_VER >=1400 - #define strdup _strdup - #endif #else #include <errno.h> #endif @@ -36,11 +33,18 @@ #include <xtrkcad-config.h> #include <locale.h> #include <assert.h> -#include "track.h" -#include "i18n.h" + #include <dynstring.h> +#include "cselect.h" +#include "custom.h" #include "dxfformat.h" +#include "fileio.h" +#include "i18n.h" +#include "messages.h" +#include "paths.h" +#include "track.h" +#include "utility.h" static struct wFilSel_t * exportDXFFile_fs; @@ -224,7 +228,7 @@ void DoExportDXF(void) exportDXFFile_fs = wFilSelCreate(mainW, FS_SAVE, 0, _("Export to DXF"), sDXFFilePattern, DoExportDXFTracks, NULL); - wFilSelect(exportDXFFile_fs, curDirName); + wFilSelect(exportDXFFile_fs, GetCurrentPath(DXFPATHKEY)); } |