summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AK/PrintfImplementation.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/AK/PrintfImplementation.h b/AK/PrintfImplementation.h
index e93103739c..5c8e431d8d 100644
--- a/AK/PrintfImplementation.h
+++ b/AK/PrintfImplementation.h
@@ -331,11 +331,11 @@ template<typename PutChFunc>
break;
case 'w':
- ret += print_hex(putch, bufptr, va_arg(ap, int), false, alternate_form, true, true, 4);
+ ret += print_hex(putch, bufptr, va_arg(ap, int), false, alternate_form, false, true, 4);
break;
case 'b':
- ret += print_hex(putch, bufptr, va_arg(ap, int), false, alternate_form, true, true, 2);
+ ret += print_hex(putch, bufptr, va_arg(ap, int), false, alternate_form, false, true, 2);
break;
case 'c':
@@ -350,7 +350,7 @@ template<typename PutChFunc>
case 'P':
case 'p':
- ret += print_hex(putch, bufptr, va_arg(ap, u32), *p == 'P', true, true, true, 8);
+ ret += print_hex(putch, bufptr, va_arg(ap, u32), *p == 'P', true, false, true, 8);
break;
default:
dbg() << "printf_internal: Unimplemented format specifier " << *p;