commit f0e5e56069fe3479ab8fa0312258389a184f7df8
parent beb906bd5910191f1b9f10aa1f0642f5fbac7801
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 14 Oct 2020 19:10:02 +0200
fix: Do not call the wrong XPLMGetWindowGeometry in the wrapper function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/display.rs b/src/display.rs
@@ -194,7 +194,7 @@ pub fn XPLMGetWindowGeometry(in_window_id: bindings::XPLMWindowID) -> (i32,i32,i
let mut b = 0;
unsafe {
- XPLMGetWindowGeometry(in_window_id, &mut l, &mut t, &mut r, &mut b);
+ bindings::XPLMGetWindowGeometry(in_window_id, &mut l, &mut t, &mut r, &mut b);
}
(l,t,r,b)