Codechange: do not declare functions in blocks
This commit is contained in:
@@ -950,7 +950,6 @@ struct NewGRFWindow : public Window, NewGRFScanCallback {
|
||||
case WID_NS_OPEN_URL: {
|
||||
const GRFConfig *c = (this->avail_sel == nullptr) ? this->active_sel : this->avail_sel;
|
||||
|
||||
extern void OpenBrowser(const char *url);
|
||||
OpenBrowser(c->GetURL());
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user