summaryrefslogtreecommitdiffstats
path: root/chrome/common/win_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/win_util.cc')
-rw-r--r--chrome/common/win_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/win_util.cc b/chrome/common/win_util.cc
index 480355b..fa3ce49 100644
--- a/chrome/common/win_util.cc
+++ b/chrome/common/win_util.cc
@@ -277,7 +277,7 @@ bool SaveFileAs(HWND owner,
const std::wstring& suggested_name,
std::wstring* final_name) {
std::wstring file_ext = file_util::GetFileExtensionFromPath(suggested_name);
- file_ext.insert(L'.', 0);
+ file_ext.insert(0, L"*.");
std::wstring filter = FormatFilterForExtensions(
std::vector<std::wstring>(1, file_ext),
std::vector<std::wstring>(),