mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 16:32:11 +01:00
Add script/print-bits.go.
This commit is contained in:
1 parent
547351cfec
commit
c463f4956f
2 files changed
+62
-1
No files matched your search
@@ -237,7 +237,7 @@ char* hex_dump(char* msg, puffs_base_buf1* buf, size_t i) {
|
||||
char c = ' ';
|
||||
if (k < n) {
|
||||
c = buf->ptr[b + k];
|
||||
if ((c < 0x20) || (0x7F < c)) {
|
||||
if ((c < 0x20) || (0x7F <= c)) {
|
||||
c = '.';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user