mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 18:48:56 -06:00
StringUtil: Move IsPrintableCharacter() into Common namespace
This commit is contained in:
@ -193,7 +193,7 @@ void DisplayMessage(std::string message, int time_in_ms)
|
||||
return;
|
||||
|
||||
// Actually displaying non-ASCII could cause things to go pear-shaped
|
||||
if (!std::all_of(message.begin(), message.end(), IsPrintableCharacter))
|
||||
if (!std::all_of(message.begin(), message.end(), Common::IsPrintableCharacter))
|
||||
return;
|
||||
|
||||
OSD::AddMessage(std::move(message), time_in_ms);
|
||||
|
Reference in New Issue
Block a user