Skip to content
Snippets Groups Projects
Commit 8f6c6f38 authored by nsylvain@chromium.org's avatar nsylvain@chromium.org
Browse files

Make the new save as dialog work on Vista too, since

the bug is not there either.

Review URL: http://codereview.chromium.org/56033

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13143 0039d316-1c4b-4281-b951-d872f2087c98
parent e91a3b54
No related branches found
No related tags found
No related merge requests found
......@@ -380,8 +380,8 @@ bool SaveFileAsWithFilter(HWND owner,
save_as.lpstrDefExt = &def_ext[0];
save_as.lCustData = NULL;
if (win_util::GetWinVersion() <= win_util::WINVERSION_VISTA) {
// The save as on Windows XP and Windows Vista remembers its last position,
if (win_util::GetWinVersion() < win_util::WINVERSION_VISTA) {
// The save as on Windows XP remembers its last position,
// and if the screen resolution changed, it will be off screen.
save_as.Flags |= OFN_ENABLEHOOK;
save_as.lpfnHook = &SaveAsDialogHook;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment