summaryrefslogtreecommitdiffstats
path: root/video/out/mac/view.swift
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/mac/view.swift')
-rw-r--r--video/out/mac/view.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/mac/view.swift b/video/out/mac/view.swift
index a54f1da948..b860c1686d 100644
--- a/video/out/mac/view.swift
+++ b/video/out/mac/view.swift
@@ -65,7 +65,7 @@ class View: NSView {
}
func isURL(_ str: String) -> Bool {
- // force unwrapping is fine here, regex is guarnteed to be valid
+ // force unwrapping is fine here, regex is guaranteed to be valid
let regex = try! NSRegularExpression(pattern: "^(https?|ftp)://[^\\s/$.?#].[^\\s]*$",
options: .caseInsensitive)
let isURL = regex.numberOfMatches(in: str,
@@ -127,7 +127,7 @@ class View: NSView {
cocoa_put_key_with_modifiers(SWIFT_KEY_MOUSE_LEAVE, 0)
}
common.titleBar?.hide()
- common.setCursorVisiblility(true)
+ common.setCursorVisibility(true)
}
override func mouseMoved(with event: NSEvent) {