Remove use of rust feature newer than oldest supported version

This commit is contained in:
Michael Fairley 2018-06-03 10:28:54 -05:00
parent 3655dfa081
commit 3a070ff124

View File

@ -597,7 +597,7 @@ impl<'ui> Ui<'ui> {
}
ImId::Str(s) => {
let start = s.as_ptr() as *const c_char;
let end = start.add(s.len()) as *const c_char;
let end = start.offset(s.len() as isize);
sys::igPushIDStrRange(start, end);
}
ImId::Ptr(p) => {