diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-03 01:43:57 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-03 18:15:50 +0300 |
commit | bfad33c3efeaff60f0f3b36ed858fb27f89239a7 (patch) | |
tree | c0f6dd9419501843d955591cdbef2f0dcc5fb97d /src/android | |
parent | d9617a499a174cdf7f56acafc2e7eec24be478c2 (diff) |
utils: raspberrypi: ctt: json_pretty_print: Collapse newlines
Simplify the newline skipping logic by simply collapsing newlines. If a
newline has been output, all subsequent newlines will be skipped until
the next non-newline character is output.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Tested-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'src/android')
0 files changed, 0 insertions, 0 deletions