StringUtil: Move IsPrintableCharacter() into Common namespace

This commit is contained in:
Lioncash
2023-05-16 14:17:54 -04:00
parent a9f1edeb61
commit 21df3ca572
9 changed files with 21 additions and 18 deletions

View File

@ -495,8 +495,8 @@ QString MemoryViewWidget::ValueToString(const Core::CPUThreadGuard& guard, u32 a
case Type::ASCII:
{
const char value = accessors->ReadU8(guard, address);
return IsPrintableCharacter(value) ? QString{QChar::fromLatin1(value)} :
QString{QChar::fromLatin1('.')};
return Common::IsPrintableCharacter(value) ? QString{QChar::fromLatin1(value)} :
QString{QChar::fromLatin1('.')};
}
case Type::Hex16:
{