Skip to content

Commit

Permalink
fixed number of bytes read
Browse files Browse the repository at this point in the history
  • Loading branch information
antonvw committed Sep 15, 2024
1 parent 9ec8e2c commit ca8a32b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ex/ex-stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ void wex::ex_stream::set_text()

if (!m_stc->is_hexmode())
{
m_stc->append_text(std::string(m_current_line, m_stream->gcount()));
m_stc->append_text(std::string(m_current_line, m_stream->gcount() - 1));
}
else
{
Expand Down

0 comments on commit ca8a32b

Please sign in to comment.