summaryrefslogtreecommitdiff
path: root/win/System.cpp
diff options
context:
space:
mode:
authorleo2001-03-23 21:36:41 +0000
committerleo2001-03-23 21:36:41 +0000
commit1fb9b7fceb4e531f6c0dcdb989584b329b5e5107 (patch)
tree6770fb3a35bcc2213074a4162c4b91e5f15908f1 /win/System.cpp
parent86a640b8111add87c17d95844896c4f34b7920da (diff)
Added an option to save HTML files with .html extension instead of .htm.
git-svn-id: http://svn.leocad.org/trunk@259 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/System.cpp')
-rw-r--r--win/System.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/win/System.cpp b/win/System.cpp
index c26e71d..1c20773 100644
--- a/win/System.cpp
+++ b/win/System.cpp
@@ -1173,14 +1173,15 @@ bool SystemDoDialog(int nMode, void* param)
LC_HTMLDLG_OPTS* opts = (LC_HTMLDLG_OPTS*)param;
CHTMLDlg dlg(&opts->imdlg);
- dlg.m_nLayout = opts->singlepage ? 0 : 1;
- dlg.m_bIndex = opts->index;
- dlg.m_bImages = opts->images;
- dlg.m_bListEnd = opts->listend;
- dlg.m_bListStep = opts->liststep;
- dlg.m_bHighlight = opts->highlight;
-
- if (dlg.DoModal() == IDOK)
+ dlg.m_nLayout = opts->singlepage ? 0 : 1;
+ dlg.m_bIndex = opts->index;
+ dlg.m_bImages = opts->images;
+ dlg.m_bListEnd = opts->listend;
+ dlg.m_bListStep = opts->liststep;
+ dlg.m_bHighlight = opts->highlight;
+ dlg.m_bHtmlExt = opts->htmlext;
+
+ if (dlg.DoModal() == IDOK)
{
strcpy(opts->path, dlg.m_strFolder);
opts->singlepage = (dlg.m_nLayout == 0);
@@ -1189,6 +1190,7 @@ bool SystemDoDialog(int nMode, void* param)
opts->listend = dlg.m_bListEnd == TRUE;
opts->liststep = dlg.m_bListStep == TRUE;
opts->highlight = dlg.m_bHighlight == TRUE;
+ opts->htmlext = dlg.m_bHtmlExt == TRUE;
return true;
}
} break;