add std:: prepend where appropriate

This commit is contained in:
y5nw 2024-02-14 21:35:32 +01:00
parent fccd3dba6e
commit 177b52acb0
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ static bool check_length(const std::string &str)
ParsedText::LengthValue::LengthValue(const std::string &str)
{
char *unitptr = nullptr;
this->size = strtod(str.c_str(), &unitptr);
this->size = std::strtod(str.c_str(), &unitptr);
if (this->size <= 0)
this->size = 0;
@ -105,7 +105,7 @@ void ParsedText::Element::setStyle(StyleList &style)
if (parseColorString(style["hovercolor"], color, false))
this->hovercolor = color;
this->font_size = atoi(style["fontsize"].c_str());
this->font_size = std::atoi(style["fontsize"].c_str());
FontMode font_mode = FM_Standard;
if (style["fontstyle"] == "mono")