diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/win32/init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/init.rs b/src/win32/init.rs index f10eb7c..a205d0c 100644 --- a/src/win32/init.rs +++ b/src/win32/init.rs @@ -16,7 +16,7 @@ use winapi; /// /// We only have one window per thread. We still store the HWND in case where we /// receive an event for another window. -thread_local!(static WINDOW: Rc<RefCell<Option<(winapi::HWND, Sender<Event>)>>> = Rc::new(RefCell::new(None))) +thread_local!(static WINDOW: Rc<RefCell<Option<(winapi::HWND, Sender<Event>)>>> = Rc::new(RefCell::new(None))); pub fn new_window(builder_dimensions: Option<(uint, uint)>, builder_title: String, builder_monitor: Option<super::MonitorID>, |