diff --git a/src/MacVim/MMWhatsNewController.m b/src/MacVim/MMWhatsNewController.m index 12daddb5e1..4000d13df4 100644 --- a/src/MacVim/MMWhatsNewController.m +++ b/src/MacVim/MMWhatsNewController.m @@ -171,7 +171,7 @@ - (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigati if ([requestURL.scheme isEqual:_whatsNewURL.scheme] && [requestURL.host isEqual:_whatsNewURL.host] && - [requestURL.port isEqual:_whatsNewURL.port] && + requestURL.port.integerValue == _whatsNewURL.port.integerValue && [requestURL.path isEqual:_whatsNewURL.path] && [requestURL.query isEqual:_whatsNewURL.query]) {