gatchat: Fix extra empty line issue with hexdump helper

This commit is contained in:
Marcel Holtmann 2011-08-09 19:23:33 -07:00
parent e35a577f80
commit 6351cb1e4e
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ void g_at_util_debug_hexdump(gboolean in, const unsigned char *buf, gsize len,
}
}
if ((i + 1) % 16 > 0) {
if (i % 16 > 0) {
gsize j;
for (j = (i % 16); j < 16; j++) {
str[(j * 3) + 1] = ' ';