168580: unhardcode versions in embedding files. r=cls, build changes
with r=cls don't require sr=. git-svn-id: svn://10.0.0.236/trunk@135155 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -197,7 +197,7 @@ static char * GetGreLocationFromRegistry()
|
||||
// Please see http://www.mozilla.org/projects/embedding/MRE.html for
|
||||
// more info.
|
||||
//
|
||||
strcpy(szKey, "Software\\Mozilla\\GRE\\1.3a");
|
||||
strcpy(szKey, "Software\\Mozilla\\GRE\\" MOZILLA_VERSION);
|
||||
|
||||
if (::RegOpenKeyEx(HKEY_LOCAL_MACHINE, szKey, 0, KEY_QUERY_VALUE, &hRegKey) == ERROR_SUCCESS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user