mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-14 06:58:35 +00:00
Remove use of rust feature newer than oldest supported version
This commit is contained in:
parent
3655dfa081
commit
3a070ff124
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user