diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 00:33:29 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 00:33:29 +0000 |
commit | 8f6c6f384b9f8a934f1632101afaf46d9550e4a1 (patch) | |
tree | e56c99e1b0b74c0baa30f1f3467c4287e52fac0e | |
parent | e91a3b549189ca848163de75a5d96a271be89dea (diff) | |
download | chromium_src-8f6c6f384b9f8a934f1632101afaf46d9550e4a1.zip chromium_src-8f6c6f384b9f8a934f1632101afaf46d9550e4a1.tar.gz chromium_src-8f6c6f384b9f8a934f1632101afaf46d9550e4a1.tar.bz2 |
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
-rw-r--r-- | chrome/common/win_util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/win_util.cc b/chrome/common/win_util.cc index a999779..62e3015 100644 --- a/chrome/common/win_util.cc +++ b/chrome/common/win_util.cc @@ -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; |