1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00

Kernel: Fix typo in the FramebufferGetPitchMboxMessage name

This commit is contained in:
Liav A 2023-04-07 08:38:43 +03:00 committed by Andreas Kling
parent c839c51b0b
commit b87747fa64
Notes: sideshowbarker 2024-07-16 21:49:44 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -37,7 +37,7 @@ Framebuffer::Framebuffer()
FramebufferSetDepthMboxMessage set_depth; FramebufferSetDepthMboxMessage set_depth;
FramebufferSetPixelOrderMboxMessage set_pixel_order; FramebufferSetPixelOrderMboxMessage set_pixel_order;
FramebufferAllocateBufferMboxMessage allocate_buffer; FramebufferAllocateBufferMboxMessage allocate_buffer;
FramebufferGetPithMboxMessage get_pitch; FramebufferGetPitchMboxMessage get_pitch;
Mailbox::MessageTail tail; Mailbox::MessageTail tail;
} message_queue; } message_queue;

View file

@ -98,16 +98,16 @@ public:
}; };
static_assert(sizeof(FramebufferAllocateBufferMboxMessage) == 20); static_assert(sizeof(FramebufferAllocateBufferMboxMessage) == 20);
class FramebufferGetPithMboxMessage : public Mailbox::Message { class FramebufferGetPitchMboxMessage : public Mailbox::Message {
public: public:
u32 pitch; u32 pitch;
FramebufferGetPithMboxMessage() FramebufferGetPitchMboxMessage()
: Mailbox::Message(0x40008, 4) : Mailbox::Message(0x40008, 4)
{ {
pitch = 0; pitch = 0;
} }
}; };
static_assert(sizeof(FramebufferGetPithMboxMessage) == 16); static_assert(sizeof(FramebufferGetPitchMboxMessage) == 16);
} }