From 175296c1e85d2747fb4b1063199e933978320231 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Thu, 4 Jul 2024 23:53:20 +0200 Subject: MHR-36: Running run_format. Signed-off-by: Amlal EL Mahrouss --- Kernel/Sources/Framebuffer.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Kernel/Sources/Framebuffer.cxx') diff --git a/Kernel/Sources/Framebuffer.cxx b/Kernel/Sources/Framebuffer.cxx index 205291bb..2e0333d7 100644 --- a/Kernel/Sources/Framebuffer.cxx +++ b/Kernel/Sources/Framebuffer.cxx @@ -78,8 +78,8 @@ Framebuffer& Framebuffer::DrawRect(SizeT width, SizeT height, SizeT x, SizeT y, for (Kernel::SizeT u = y; u < height + y; ++u) { *(((volatile Kernel::UInt32*)(fFrameBufferAddr.Leak()->fBase + - 4 * fFrameBufferAddr.Leak()->fBpp * i + - 4 * u))) = color; + 4 * fFrameBufferAddr.Leak()->fBpp * i + + 4 * u))) = color; } } @@ -89,8 +89,8 @@ Framebuffer& Framebuffer::DrawRect(SizeT width, SizeT height, SizeT x, SizeT y, Framebuffer& Framebuffer::PutPixel(SizeT x, SizeT y, UInt32 color) { *(((volatile Kernel::UInt32*)(fFrameBufferAddr.Leak()->fBase + - 4 * fFrameBufferAddr.Leak()->fBpp * x + - 4 * y))) = color; + 4 * fFrameBufferAddr.Leak()->fBpp * x + + 4 * y))) = color; return *this; } \ No newline at end of file -- cgit v1.2.3