Skip to content

Commit

Permalink
Fix spelling of "inner" (#3896)
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys authored Sep 1, 2024
1 parent 241b7a8 commit 9419e4e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/platform_impl/windows/event_loop/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,19 +372,19 @@ impl BufferedEvent {
match self {
Self::Event(event) => dispatch(event),
Self::ScaleFactorChanged(window_id, scale_factor, new_inner_size) => {
let user_new_innner_size = Arc::new(Mutex::new(new_inner_size));
let user_new_inner_size = Arc::new(Mutex::new(new_inner_size));
dispatch(Event::WindowEvent {
window_id,
event: WindowEvent::ScaleFactorChanged {
scale_factor,
inner_size_writer: InnerSizeWriter::new(Arc::downgrade(
&user_new_innner_size,
&user_new_inner_size,
)),
},
});
let inner_size = *user_new_innner_size.lock().unwrap();
let inner_size = *user_new_inner_size.lock().unwrap();

drop(user_new_innner_size);
drop(user_new_inner_size);

if inner_size != new_inner_size {
let window_flags = unsafe {
Expand Down

0 comments on commit 9419e4e

Please sign in to comment.