summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/shell_dialogs_win.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-22 17:21:40 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-22 17:21:40 +0000
commit35c79d30ce5c7a199004d548286aca7338e8ca10 (patch)
treebc0f6d0ae5457d08d4344d367b1d28324ec8b249 /chrome/browser/views/shell_dialogs_win.cc
parent00462ad45125e34e27399a53830f5f56d86d1d51 (diff)
downloadchromium_src-35c79d30ce5c7a199004d548286aca7338e8ca10.zip
chromium_src-35c79d30ce5c7a199004d548286aca7338e8ca10.tar.gz
chromium_src-35c79d30ce5c7a199004d548286aca7338e8ca10.tar.bz2
Properly construct shell filters (forgetting the asterisk means it works but doesn't show existing files).
BUG=10734 Review URL: http://codereview.chromium.org/93019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14202 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/shell_dialogs_win.cc')
-rw-r--r--chrome/browser/views/shell_dialogs_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/shell_dialogs_win.cc b/chrome/browser/views/shell_dialogs_win.cc
index 69ee892..24324d9 100644
--- a/chrome/browser/views/shell_dialogs_win.cc
+++ b/chrome/browser/views/shell_dialogs_win.cc
@@ -339,7 +339,7 @@ void SelectFileDialogImpl::ExecuteSelectFile(
for (size_t j=0; j<inner_exts.size(); ++j) {
if (!ext_string.empty())
ext_string.push_back(L';');
- ext_string.push_back(L'.');
+ ext_string.append(L"*.");
ext_string.append(inner_exts[j]);
}
exts.push_back(ext_string);