From 0c24fadaa120f940cfca34134745ab747e823b18 Mon Sep 17 00:00:00 2001 From: Sup Yut Sum Date: Mon, 7 Jan 2013 22:16:21 +0800 Subject: [PATCH] Really make SVG default when exporting revision graph without entering extension Signed-off-by: Sup Yut Sum --- src/TortoiseProc/RevisionGraph/RevisionGraphDlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TortoiseProc/RevisionGraph/RevisionGraphDlg.cpp b/src/TortoiseProc/RevisionGraph/RevisionGraphDlg.cpp index 1b931745d..dff472b83 100644 --- a/src/TortoiseProc/RevisionGraph/RevisionGraphDlg.cpp +++ b/src/TortoiseProc/RevisionGraph/RevisionGraphDlg.cpp @@ -658,7 +658,7 @@ void CRevisionGraphDlg::OnFileSavegraphas() if (CAppUtils::FileOpenSave(tempfile, &filterindex, IDS_REVGRAPH_SAVEPIC, IDS_PICTUREFILEFILTER, false, m_hWnd)) { // if the user doesn't specify a file extension, default to - // wmf and add that extension to the filename. But only if the + // svg and add that extension to the filename. But only if the // user chose the 'pictures' filter. The filename isn't changed // if the 'All files' filter was chosen. CString extension; @@ -668,7 +668,7 @@ void CRevisionGraphDlg::OnFileSavegraphas() extension = tempfile.Mid(dotPos); if ((filterindex == 1)&&(extension.IsEmpty())) { - extension = _T(".wmf"); + extension = _T(".svg"); tempfile += extension; } m_Graph.SaveGraphAs(tempfile); -- 2.11.4.GIT