mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
stupid cut and paste error.
This commit is contained in:
parent
b4451b8526
commit
5b874e16d1
@ -2071,8 +2071,8 @@ NS_IMETHODIMP nsProfile::MigrateProfileInfo()
|
||||
char *unixProfileDirectory = PR_GetEnv(PROFILE_HOME_ENVIRONMENT_VARIABLE);
|
||||
|
||||
if (!unixProfileName || !unixProfileDirectory || (PL_strlen(unixProfileName) == 0) || (PL_strlen(unixProfileDirectory) == 0)) {
|
||||
char *unixProfileName = PR_GetEnv(USER_ENVIRONMENT_VARIABLE);
|
||||
char *unixProfileDirectory = PR_GetEnv(HOME_ENVIRONMENT_VARIABLE);
|
||||
unixProfileName = PR_GetEnv(USER_ENVIRONMENT_VARIABLE);
|
||||
unixProfileDirectory = PR_GetEnv(HOME_ENVIRONMENT_VARIABLE);
|
||||
}
|
||||
|
||||
if (unixProfileName && unixProfileDirectory) {
|
||||
|
Loading…
Reference in New Issue
Block a user