diff --git a/nokhwa-bindings-windows/src/lib.rs b/nokhwa-bindings-windows/src/lib.rs index 2ae75a8..08ba4a8 100644 --- a/nokhwa-bindings-windows/src/lib.rs +++ b/nokhwa-bindings-windows/src/lib.rs @@ -276,7 +276,7 @@ pub mod wmf { let mut device_list = vec![]; // return early if we have no devices connected - if count >= 0 { + if count == 0 { return Ok(device_list) }