diff --git a/src/win/event.rs b/src/win/event.rs index cbf9a74..15fc44a 100644 --- a/src/win/event.rs +++ b/src/win/event.rs @@ -3,7 +3,7 @@ use std::sync::{Arc, Mutex}; use winapi::shared::minwindef::{LPARAM, LRESULT, UINT, WPARAM}; use crate::Window; -use winapi::um::winuser::{DefWindowProcA, WM_MOUSEMOVE, WM_TIMER, WM_PAINT}; +use winapi::um::winuser::{DefWindowProcA, WM_MOUSEMOVE, WM_PAINT, WM_TIMER}; const WIN_FRAME_TIMER: usize = 4242; diff --git a/src/win/window.rs b/src/win/window.rs index a73e2e6..def2d70 100644 --- a/src/win/window.rs +++ b/src/win/window.rs @@ -118,7 +118,7 @@ pub struct Window { window_class: ATOM, r: f32, g: f32, - b: f32 + b: f32, } impl Window { @@ -131,7 +131,7 @@ impl Window { window_class: 0, r: 0.3, g: 0.8, - b: 0.3 + b: 0.3, }; let title = (options.title.to_owned() + "\0").as_ptr() as *const i8; diff --git a/src/x11/window.rs b/src/x11/window.rs index 0dd697d..76c00c7 100644 --- a/src/x11/window.rs +++ b/src/x11/window.rs @@ -346,4 +346,4 @@ impl Window { // TODO: choose between `xres` and `yres`? (probably both are the same?) Some(yres) } -} \ No newline at end of file +}