]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_head.c
p16 is being worked on a bunch by me wwww [16_ca needs huge amounts of work and I...
[16.git] / src / lib / 16_head.c
index 5764183bf8dad641d6e9b97d8ecfc3ed7cd53bc7..f0175d435001a5bda0f7004f38fcd70518085a29 100755 (executable)
@@ -182,7 +182,7 @@ void print_mem(void const *vp, size_t n)
        {\r
                printf("%02x", p[i]);\r
                //printf("%c", p[i]);\r
-               if(!((i)%16)) printf("\n");\r
+               if((!(i%16)) && i) printf("\n");\r
                else printf(" ");\r
                //printf("%u%%40=%u\n", i, i%40);\r
        }\r