mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-20 23:53:18 +03:00
fix windows
This commit is contained in:
@@ -41,7 +41,7 @@ impl Display for CaptureCreationError {
|
|||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
CaptureCreationError::Macos(e) => format!("{e}"),
|
CaptureCreationError::Macos(e) => format!("{e}"),
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
CaptureCreationError::Windows => format!(""),
|
CaptureCreationError::Windows => String::new(""),
|
||||||
CaptureCreationError::NoAvailableBackend => "no available backend".to_string(),
|
CaptureCreationError::NoAvailableBackend => "no available backend".to_string(),
|
||||||
};
|
};
|
||||||
write!(f, "could not create input capture: {reason}")
|
write!(f, "could not create input capture: {reason}")
|
||||||
|
|||||||
Reference in New Issue
Block a user