diff options
Diffstat (limited to 'libs/binder/BufferedTextOutput.cpp')
-rw-r--r-- | libs/binder/BufferedTextOutput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/BufferedTextOutput.cpp b/libs/binder/BufferedTextOutput.cpp index d516eb1d54..857bbf9510 100644 --- a/libs/binder/BufferedTextOutput.cpp +++ b/libs/binder/BufferedTextOutput.cpp @@ -189,7 +189,7 @@ status_t BufferedTextOutput::print(const char* txt, size_t len) // them out without going through the buffer. // Slurp up all of the lines. - const char* lastLine = txt+1; + const char* lastLine = txt; while (txt < end) { if (*txt++ == '\n') lastLine = txt; } |