Codechange: Use std::strto* variants everywhere (#10720)

This commit is contained in:
Charles Pigott
2023-04-26 12:56:14 +01:00
committed by GitHub
parent 997c936893
commit 80bd5ad727
14 changed files with 24 additions and 25 deletions

View File

@@ -618,7 +618,7 @@ struct NewGRFInspectWindow : Window {
{
if (StrEmpty(str)) return;
NewGRFInspectWindow::var60params[GetFeatureNum(this->window_number)][this->current_edit_param - 0x60] = strtol(str, nullptr, 16);
NewGRFInspectWindow::var60params[GetFeatureNum(this->window_number)][this->current_edit_param - 0x60] = std::strtol(str, nullptr, 16);
this->SetDirty();
}