mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
Everywhere: Prefix hexadecimal numbers with 0x
Depending on the values it might be difficult to figure out whether a value is decimal or hexadecimal. So let's make this more obvious. Also this allows copying and pasting those numbers into GNOME calculator and probably also other apps which auto-detect the base.
This commit is contained in:
committed by
Andreas Kling
parent
7bfd319652
commit
31f30e732a
@@ -295,12 +295,7 @@ bool Scheduler::context_switch(Thread* thread)
|
||||
from_thread->set_state(Thread::Runnable);
|
||||
|
||||
#ifdef LOG_EVERY_CONTEXT_SWITCH
|
||||
const auto msg =
|
||||
# if ARCH(I386)
|
||||
"Scheduler[{}]: {} -> {} [prio={}] {:04x}:{:08x}";
|
||||
# else
|
||||
"Scheduler[{}]: {} -> {} [prio={}] {:04x}:{:16x}";
|
||||
# endif
|
||||
const auto msg = "Scheduler[{}]: {} -> {} [prio={}] {:#04x}:{:p}";
|
||||
|
||||
dbgln(msg,
|
||||
Processor::id(), from_thread->tid().value(),
|
||||
|
||||
Reference in New Issue
Block a user