Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2527)

Unified Diff: chrome/common/win_util.cc

Issue 56033: Make the new save as dialog work on Vista too, since (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/win_util.cc
===================================================================
--- chrome/common/win_util.cc (revision 13020)
+++ chrome/common/win_util.cc (working copy)
@@ -380,8 +380,8 @@
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698