From 19ac1f6368c91cc00a68717001ea4eae65567a47 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Wed, 5 Aug 2020 16:28:19 -0400 Subject: Revert "Unicode: s/codepoint/code_point/g" This reverts commit ea9ac3155d1774f13ac4e9a96605c0e85a8f299e. It replaced "codepoint" with "code_points", not "code_point". --- Kernel/TTY/VirtualConsole.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Kernel/TTY/VirtualConsole.cpp') diff --git a/Kernel/TTY/VirtualConsole.cpp b/Kernel/TTY/VirtualConsole.cpp index 32600965d9..c8eac8da6a 100644 --- a/Kernel/TTY/VirtualConsole.cpp +++ b/Kernel/TTY/VirtualConsole.cpp @@ -287,10 +287,10 @@ void VirtualConsole::flush_dirty_lines() if (!line.is_dirty() && !m_terminal.m_need_full_flush) continue; for (size_t column = 0; column < line.length(); ++column) { - u32 code_points = line.code_points(column); + u32 codepoint = line.codepoint(column); auto attribute = line.attributes()[column]; u16 vga_index = (visual_row * 160) + (column * 2); - m_current_vga_window[vga_index] = code_points < 128 ? code_points : '?'; + m_current_vga_window[vga_index] = codepoint < 128 ? codepoint : '?'; m_current_vga_window[vga_index + 1] = attribute_to_vga(attribute); } line.set_dirty(false); -- cgit v1.2.3