diff options
author | der richter <der.richter@gmx.de> | 2020-02-15 16:14:40 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2020-02-22 13:56:31 +0100 |
commit | 8e1ceaba343191996dfb280e8ce698675ea3ad43 (patch) | |
tree | f7ef016ad7f0a3a0c5921d367c1c038eb25821ae /video/out/cocoa-cb/window.swift | |
parent | b8f2811f8d180d4c2a39aabc046440c900652bb4 (diff) | |
download | mpv-8e1ceaba343191996dfb280e8ce698675ea3ad43.tar.bz2 mpv-8e1ceaba343191996dfb280e8ce698675ea3ad43.tar.xz |
cocoa-cb: remove unnecessary semicolons
Diffstat (limited to 'video/out/cocoa-cb/window.swift')
-rw-r--r-- | video/out/cocoa-cb/window.swift | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/cocoa-cb/window.swift b/video/out/cocoa-cb/window.swift index ce7947cb90..9391b0d652 100644 --- a/video/out/cocoa-cb/window.swift +++ b/video/out/cocoa-cb/window.swift @@ -337,7 +337,7 @@ class Window: NSWindow, NSWindowDelegate { } func aspectFit(rect r: NSRect, in rTarget: NSRect) -> NSRect { - var s = rTarget.width / r.width; + var s = rTarget.width / r.width if r.height*s > rTarget.height { s = rTarget.height / r.height } |