From 177b52acb0316757da411c7315710275984f495a Mon Sep 17 00:00:00 2001 From: y5nw <37980625+y5nw@users.noreply.github.com> Date: Wed, 14 Feb 2024 21:35:32 +0100 Subject: [PATCH] add std:: prepend where appropriate --- src/gui/guiHyperText.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/guiHyperText.cpp b/src/gui/guiHyperText.cpp index 329b0a2c0..2250747db 100644 --- a/src/gui/guiHyperText.cpp +++ b/src/gui/guiHyperText.cpp @@ -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")