Skip to content

Commit

Permalink
terminal: typo
Browse files Browse the repository at this point in the history
amend 542188d
  • Loading branch information
mcspr committed Dec 6, 2022
1 parent d2377e3 commit 53633cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/espurna/terminal_parsing.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ struct LineView {

StringView line() {
const auto Begin = begin();
const auto End = begin();
const auto End = end();

if (Begin != End) {
const auto eol = std::find(begin(), end(), '\n');
const auto eol = std::find(Begin, End, '\n');
if (eol != End) {
const auto after = std::next(eol);
if (after != End) {
Expand Down

0 comments on commit 53633cf

Please sign in to comment.