diff --git a/Userland/DevTools/HackStudio/Debugger/VariablesModel.cpp b/Userland/DevTools/HackStudio/Debugger/VariablesModel.cpp index 973a2e91a3..e140896df8 100644 --- a/Userland/DevTools/HackStudio/Debugger/VariablesModel.cpp +++ b/Userland/DevTools/HackStudio/Debugger/VariablesModel.cpp @@ -97,7 +97,7 @@ static String variable_value_as_string(const Debug::DebugInfo::VariableInfo& var if (variable.type_name == "char") { auto value = Debugger::the().session()->peek((u32*)variable_address); VERIFY(value.has_value()); - return String::formatted("'{0:c}' ({0:d})", value.value()); + return String::formatted("'{0:c}'", (char)value.value()); } if (variable.type_name == "bool") {