| Index: chrome/browser/browser_init.cc
|
| diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
|
| index dd798155ed91ff772d198a8858fa49bd4cd8da8d..ca72ccf1f4d1081b4062326a9a708f8e0711df27 100644
|
| --- a/chrome/browser/browser_init.cc
|
| +++ b/chrome/browser/browser_init.cc
|
| @@ -316,7 +316,7 @@ LaunchMode GetLaunchShortcutKind() {
|
| return LM_SHORTCUT_QUICKLAUNCH;
|
| scoped_ptr<base::Environment> env(base::Environment::Create());
|
| std::string appdata_path;
|
| - env->GetEnv("USERPROFILE", &appdata_path);
|
| + env->GetVar("USERPROFILE", &appdata_path);
|
| if (!appdata_path.empty() &&
|
| shortcut.find(ASCIIToWide(appdata_path)) != std::wstring::npos)
|
| return LM_SHORTCUT_DESKTOP;
|
|
|