From 8e1ceaba343191996dfb280e8ce698675ea3ad43 Mon Sep 17 00:00:00 2001 From: der richter Date: Sat, 15 Feb 2020 16:14:40 +0100 Subject: cocoa-cb: remove unnecessary semicolons --- video/out/cocoa-cb/window.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/cocoa-cb/window.swift') 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 } -- cgit v1.2.3