mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-25 04:02:42 +01:00
GUI TTY: fix a regression (#12855)
This commit is contained in:
parent
9a5dbda063
commit
c4c710d39d
@ -524,7 +524,7 @@ void log_frame::UpdateUI()
|
||||
|
||||
while (str_index < m_tty_buf.size())
|
||||
{
|
||||
buf_line = m_tty_buf.substr(str_index, m_tty_buf.find_first_of('\n'));
|
||||
buf_line.assign(std::string_view(m_tty_buf).substr(str_index, m_tty_buf.find_first_of('\n', str_index) - str_index));
|
||||
str_index += buf_line.size() + 1;
|
||||
|
||||
// Ignore control characters and greater/equal to 0x80
|
||||
|
Loading…
Reference in New Issue
Block a user