Whoops, forgot "{}"
This commit is contained in:
parent
8056329f65
commit
28c280556a
|
@ -210,7 +210,7 @@ impl<T> Window<T> {
|
|||
/// 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);
|
||||
|
|
Loading…
Reference in a new issue