core: Fix more windows bustage

This commit is contained in:
Brian Anderson 2012-09-28 16:44:38 -07:00
parent 4e2899ba88
commit a6fe5ef1a9

View File

@ -433,7 +433,7 @@ pub fn homedir() -> Option<Path> {
#[cfg(windows)]
fn secondary() -> Option<Path> {
do option::chain(&getenv(~"USERPROFILE")) |p| {
do option::chain(getenv(~"USERPROFILE")) |p| {
if !str::is_empty(p) {
Some(Path(p))
} else {