mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 18:32:02 +00:00
StringUtil: Move IsAlpha() into Common namespace
This commit is contained in:
parent
e0ef474d95
commit
a9f1edeb61
2 changed files with 11 additions and 9 deletions
|
@ -43,7 +43,7 @@ std::string GetExpressionForControl(const std::string& control_name,
|
|||
{
|
||||
// If our expression contains any non-alpha characters
|
||||
// we should quote it
|
||||
if (!std::all_of(expr.begin(), expr.end(), IsAlpha))
|
||||
if (!std::all_of(expr.begin(), expr.end(), Common::IsAlpha))
|
||||
expr = fmt::format("`{}`", expr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue