From d1a8285f818eb7e5c3d6a05709ea21a808490b8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 19 Mar 2018 19:55:58 +0100 Subject: New upstream version 5.1.0 --- app/bin/dxfoutput.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'app/bin/dxfoutput.c') 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 #include - #if _MSC_VER >=1400 - #define strdup _strdup - #endif #else #include #endif @@ -36,11 +33,18 @@ #include #include #include -#include "track.h" -#include "i18n.h" + #include +#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)); } -- cgit v1.2.3