Browse code

Replacing debug log that was accidentally removed by the previous commit.

Micah Snyder authored on 2018/05/25 04:12:15
Showing 1 changed files
... ...
@@ -1813,6 +1813,7 @@ static int hwp3_cb(void *cbdata, int fd, cli_ctx *ctx)
1813 1813
         if (ctx->options & CL_SCAN_FILE_PROPERTIES)
1814 1814
             cli_jsonint(fonts, NULL, nfonts);
1815 1815
 #endif
1816
+        hwp3_debug("HWP3.x: Font Entry %d with %u entries @ offset %llu\n", i+1, nfonts, (long long unsigned)offset);
1816 1817
         new_offset = offset + (2 + nfonts * 40);
1817 1818
         if ((new_offset <= offset) || (new_offset >= map->len)) {
1818 1819
             cli_errmsg("HWP3.x: Font Entry: number of fonts is too high, invalid. %u\n", nfonts);