Fix more windows breakage.
This commit is contained in:
parent
32e8429341
commit
160ffb0c2f
@ -118,7 +118,7 @@ mod win32 {
|
||||
let mut t = str::to_utf16(s);
|
||||
// Null terminate before passing on.
|
||||
t += ~[0u16];
|
||||
vec::as_buf(t, f)
|
||||
vec::as_buf(t, |buf, _len| f(buf))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user