commit | faa92e99151ccec81073cb7ded2d49458468a02d | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Tue Sep 08 07:57:27 2015 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Tue Sep 29 15:43:34 2015 -0700 |
tree | 59b6314665eb2dd8e1211441ff5fb0b7b1bddeb5 | |
parent | 2d159bf3b597eb6defbb9e74c60a003bc9387a0a [diff] |
liblog: logprint: printable nul Change-Id: I57d1f86ce040ad196c558bb72ac0464af793c214
diff --git a/liblog/logprint.c b/liblog/logprint.c index c2f1545..3f1bb2f 100644 --- a/liblog/logprint.c +++ b/liblog/logprint.c
@@ -774,7 +774,7 @@ uint32_t utf32; if ((first_char & 0x80) == 0) { /* ASCII */ - return 1; + return first_char ? 1 : -1; } /*