[iOS] Fallout from 8389253
This commit is contained in:
parent
123a754cb8
commit
eb5ed10330
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ pub fn args() -> Args {
|
|||
let utf_c_str: *const libc::c_char =
|
||||
mem::transmute(objc_msgSend(tmp, utf8_sel));
|
||||
let bytes = CStr::from_ptr(utf_c_str).to_bytes();
|
||||
res.push(OsString::from_str(str::from_utf8(bytes).unwrap()))
|
||||
res.push(OsString::from(str::from_utf8(bytes).unwrap()))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue