Capitalize printFormat for %X

This commit is contained in:
Eryn Wells 2016-03-20 17:14:33 -04:00
parent 17102e7e46
commit 9bf27a3115

View file

@ -290,8 +290,10 @@ Console::printFormat(const char* fmt,
}
spec.type = Spec::Type::Int;
break;
case 'x':
case 'X':
spec.capitalized = true;
// fall through
case 'x':
switch (spec.size) {
case Spec::Size::Normal:
spec.value.x = va_arg(vl, unsigned int);