diff options
author | Aceeri <conmcclusk@gmail.com> | 2015-11-09 03:29:26 -0800 |
---|---|---|
committer | Aceeri <conmcclusk@gmail.com> | 2015-11-09 03:29:26 -0800 |
commit | 2be3c142f0778a3588982572a997dc669adca2a6 (patch) | |
tree | 14ba6c02c04d5bcc24f85a48d7edb999745965ef /src/api/x11 | |
parent | 9a05577df8f3e616de94635ef41e0d8601f3091c (diff) | |
download | glutin-2be3c142f0778a3588982572a997dc669adca2a6.tar.gz glutin-2be3c142f0778a3588982572a997dc669adca2a6.zip |
Fixed wrong variable binding for WindowAttributes on asserts
Diffstat (limited to 'src/api/x11')
-rw-r--r-- | src/api/x11/window.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs index 4d2dfb2..09470ff 100644 --- a/src/api/x11/window.rs +++ b/src/api/x11/window.rs @@ -305,8 +305,8 @@ impl Window { let dimensions = window_attrs.dimensions.unwrap_or((800, 600)); // not implemented - assert!(win_attribs.min_dimensions.is_none()); - assert!(win_attribs.max_dimensions.is_none()); + assert!(window_attrs.min_dimensions.is_none()); + assert!(window_attrs.max_dimensions.is_none()); let screen_id = match window_attrs.monitor { Some(PlatformMonitorId::X(MonitorId(_, monitor))) => monitor as i32, |