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

Unified Diff: plugin/win/config.cc

Issue 150182: Fix for Windows 7 (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 years, 6 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 | « plugin/cross/o3d_glue.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: plugin/win/config.cc
===================================================================
--- plugin/win/config.cc (revision 19709)
+++ plugin/win/config.cc (working copy)
@@ -68,7 +68,8 @@
std::string error = std::string("Windows XP Service Pack 2 is required.");
if (!AskUser(npp, error)) return false;
}
- } else if (version.dwMajorVersion == 6 && version.dwMinorVersion == 0) {
+ } else if (version.dwMajorVersion > 5 ||
+ (version.dwMajorVersion == 5 && version.dwMinorVersion >= 2)) {
// 6.0 is Vista or Server 2008; it's now worth a try.
} else {
std::string error = std::string("Unsupported Windows version.");
« no previous file with comments | « plugin/cross/o3d_glue.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698