diff options
author | 2020-06-21 17:34:44 +1000 | |
---|---|---|
committer | 2020-06-21 17:34:44 +1000 | |
commit | feda349b3eea19d4fd0010a74e2dd6ff30f26b16 (patch) | |
tree | 2ba4b13a2ca181515354170a12b81446ee53da21 /src/emu/debug/textbuf.cpp | |
parent | 3c499849dd96f17d7944619248261480017ba0c3 (diff) | |
parent | 01661be41c37560a37f2b43c5ecee7a10a6a1680 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/emu/debug/textbuf.cpp')
-rw-r--r-- | src/emu/debug/textbuf.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/emu/debug/textbuf.cpp b/src/emu/debug/textbuf.cpp index bac5e45f604..76a4e99322e 100644 --- a/src/emu/debug/textbuf.cpp +++ b/src/emu/debug/textbuf.cpp @@ -318,8 +318,8 @@ text_buffer_lines text_buffer_get_lines(text_buffer* text) } /*--------------------------------------------------------------------- - text_buffer_lines::text_buffer_line_iterator::operator* - Gets the line that the iterator currently points to. + text_buffer_lines::text_buffer_line_iterator::operator* + Gets the line that the iterator currently points to. -----------------------------------------------------------------------*/ text_buffer_line text_buffer_lines::text_buffer_line_iterator::operator*() const @@ -331,7 +331,7 @@ text_buffer_line text_buffer_lines::text_buffer_line_iterator::operator*() const next_lineptr = 0; const char* nextline = &m_buffer.buffer[m_buffer.lineoffs[next_lineptr]]; - + /* -1 for the '\0' at the end of line */ ptrdiff_t difference = (nextline - line) - 1; @@ -343,8 +343,8 @@ text_buffer_line text_buffer_lines::text_buffer_line_iterator::operator*() const } /*--------------------------------------------------------------------- - text_buffer_lines::text_buffer_line_iterator::operator++ - Moves to the next line. + text_buffer_lines::text_buffer_line_iterator::operator++ + Moves to the next line. -----------------------------------------------------------------------*/ text_buffer_lines::text_buffer_line_iterator& text_buffer_lines::text_buffer_line_iterator::operator++() @@ -356,8 +356,8 @@ text_buffer_lines::text_buffer_line_iterator& text_buffer_lines::text_buffer_lin } /*------------------------------------------------------ - text_buffer_lines::begin() - Returns an iterator that points to the first line. + text_buffer_lines::begin() + Returns an iterator that points to the first line. --------------------------------------------------------*/ text_buffer_lines::iterator text_buffer_lines::begin() const @@ -366,8 +366,8 @@ text_buffer_lines::iterator text_buffer_lines::begin() const } /*----------------------------------------------------------- - text_buffer_lines::begin() - Returns an iterator that points just past the last line. + text_buffer_lines::begin() + Returns an iterator that points just past the last line. -------------------------------------------------------------*/ text_buffer_lines::iterator text_buffer_lines::end() const |