Skip to content

Commit

Permalink
igscuighatuiadyhfuaihdsxgrtfuhagdfuiyragrtasduiyfgesraduriyewgafdiuya…
Browse files Browse the repository at this point in the history
…sdgriuawefdas
  • Loading branch information
TheSillyDoggo committed Dec 19, 2024
1 parent 38b61ca commit 144e11f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/UI/TransAlertLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bool TransAlertLayer::init(char const* title, const gd::string& desc, char const

bool useTtf = false;

useTtf = !std::regex_match(desc2, std::regex("^[a-zA-Z0-9\\s\\W]*$"));
useTtf = !std::regex_match(desc2, std::regex("^[a-zA-Z0-9\\s%:-]*$"));

if (useTtf)
{
Expand Down
2 changes: 1 addition & 1 deletion src/UI/TransLabelBMFont.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void TransLabelBMFont::updateTTFVisible()
}
else
{
useTtf = !std::regex_match(text, std::regex("^[a-zA-Z0-9\\s\\W]*$"));
useTtf = !std::regex_match(text, std::regex("^[a-zA-Z0-9\\s%:-]*$"));
}

label->setString(text.c_str());
Expand Down

0 comments on commit 144e11f

Please sign in to comment.