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.
|
/// from the window layout. Allocates and passes an `NSString` over to the Objective C runtime.
|
||||||
/// Does nothing when less than version 11.
|
/// Does nothing when less than version 11.
|
||||||
pub fn set_subtittle(&self, subtitle: &str) {
|
pub fn set_subtittle(&self, subtitle: &str) {
|
||||||
if !os::is_minimum_version(11) return;
|
if !os::is_minimum_version(11) { return; }
|
||||||
|
|
||||||
unsafe {
|
unsafe {
|
||||||
let subtitle = NSString::new(subtitle);
|
let subtitle = NSString::new(subtitle);
|
||||||
|
|
Loading…
Reference in a new issue