diff options
Diffstat (limited to 'logcat/logcat.cpp')
-rw-r--r-- | logcat/logcat.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/logcat/logcat.cpp b/logcat/logcat.cpp index 5960609..5a80efe 100644 --- a/logcat/logcat.cpp +++ b/logcat/logcat.cpp @@ -807,7 +807,10 @@ int main(int argc, char **argv) // squash out the byte count cp = buf; if (!truncated) { - while (isdigit(*cp) || (*cp == '\n')) { + while (isdigit(*cp)) { + ++cp; + } + if (*cp == '\n') { ++cp; } } |