From f81486a02c094acd80f85515da8c84e4fc6a20ac Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Tue, 19 May 2020 09:14:40 -0500 Subject: [PATCH] Add return statements to (hopefully) make conditional compilation actually compile. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index a0c2406..850be5d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -93,9 +93,9 @@ impl TTS { #[cfg(windows)] { let tolk = tolk::Tolk::new(); - tolk.detect_screen_reader().is_some() + return tolk.detect_screen_reader().is_some() } - false + return false; }) .done(); }