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:
asasaki%netscape.com
2002-12-12 01:18:52 +00:00
parent 131cbc2ca0
commit 8612e144a2
4 changed files with 4 additions and 4 deletions

View File

@@ -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)
{