mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
Kernel/VirtualConsole: Fix grammar error in comment
This commit is contained in:
parent
c3efae85f2
commit
e9ef3b59d8
Notes:
sideshowbarker
2024-07-18 17:35:52 +09:00
Author: https://github.com/supercomputer7
Commit: e9ef3b59d8
Pull-request: https://github.com/SerenityOS/serenity/pull/7354
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/linusg
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ UNMAP_AFTER_INIT void VirtualConsole::initialize()
|
||||||
set_size(GraphicsManagement::the().console()->max_column(), GraphicsManagement::the().console()->max_row());
|
set_size(GraphicsManagement::the().console()->max_column(), GraphicsManagement::the().console()->max_row());
|
||||||
m_console_impl.set_size(GraphicsManagement::the().console()->max_column(), GraphicsManagement::the().console()->max_row());
|
m_console_impl.set_size(GraphicsManagement::the().console()->max_column(), GraphicsManagement::the().console()->max_row());
|
||||||
|
|
||||||
// Allocate twice of the max row * max column * sizeof(Cell) to ensure we can some sort of history mechanism...
|
// Allocate twice of the max row * max column * sizeof(Cell) to ensure we can have some sort of history mechanism...
|
||||||
auto size = GraphicsManagement::the().console()->max_column() * GraphicsManagement::the().console()->max_row() * sizeof(Cell) * 2;
|
auto size = GraphicsManagement::the().console()->max_column() * GraphicsManagement::the().console()->max_row() * sizeof(Cell) * 2;
|
||||||
m_cells = MM.allocate_kernel_region(page_round_up(size), "Virtual Console Cells", Region::Access::Read | Region::Access::Write, AllocationStrategy::AllocateNow);
|
m_cells = MM.allocate_kernel_region(page_round_up(size), "Virtual Console Cells", Region::Access::Read | Region::Access::Write, AllocationStrategy::AllocateNow);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue