billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=7a167447782068f19101b38b064a0508b9ff02ac
commit 7a167447782068f19101b38b064a0508b9ff02ac Author: Boris Faure <[email protected]> Date: Sun Nov 15 20:19:21 2020 +0100 tytest: makes more sense (to me) to check len --- src/bin/tytest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/tytest.c b/src/bin/tytest.c index b501ee5..06a3dd1 100644 --- a/src/bin/tytest.c +++ b/src/bin/tytest.c @@ -186,7 +186,7 @@ _tytest_checksum(Termpty *ty) MD5Update(&ctx, (unsigned char const*)cursor_shape, strlen(cursor_shape)); /* Write buffer */ - if (ty->write_buffer.buf) + if (ty->write_buffer.len) { MD5Update(&ctx, (unsigned char const*)ty->write_buffer.buf, ty->write_buffer.len); --
