From 1fb9b7fceb4e531f6c0dcdb989584b329b5e5107 Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 23 Mar 2001 21:36:41 +0000 Subject: 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 --- win/System.cpp | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'win/System.cpp') 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; -- cgit v1.2.3