mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-03-07 11:59:59 +03:00
formatting
This commit is contained in:
@@ -515,8 +515,10 @@ fn message_thread(ready_tx: mpsc::Sender<()>) {
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
|
||||
if WINDOW_CLASS_REGISTERED.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst).is_ok() {
|
||||
if WINDOW_CLASS_REGISTERED
|
||||
.compare_exchange(false, true, Ordering::SeqCst, Ordering::SeqCst)
|
||||
.is_ok()
|
||||
{
|
||||
/* register window class if not yet done so */
|
||||
let ret = RegisterClassW(&window_class);
|
||||
if ret == 0 {
|
||||
|
||||
Reference in New Issue
Block a user