diff --git a/src/appkit/window/mod.rs b/src/appkit/window/mod.rs index 5008a3a..1e0e189 100644 --- a/src/appkit/window/mod.rs +++ b/src/appkit/window/mod.rs @@ -210,7 +210,7 @@ impl Window { /// from the window layout. Allocates and passes an `NSString` over to the Objective C runtime. /// Does nothing when less than version 11. pub fn set_subtittle(&self, subtitle: &str) { - if !os::is_minimum_version(11) return; + if !os::is_minimum_version(11) { return; } unsafe { let subtitle = NSString::new(subtitle);