aboutsummaryrefslogtreecommitdiffstats
path: root/service/src
diff options
context:
space:
mode:
Diffstat (limited to 'service/src')
-rw-r--r--service/src/stlfile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/src/stlfile.c b/service/src/stlfile.c
index 7b691d0..1f4dc66 100644
--- a/service/src/stlfile.c
+++ b/service/src/stlfile.c
@@ -361,8 +361,9 @@ print_info(struct parseinfo *info)
printf(" File Size: %u\n", info->filesize);
if (info->type == TYPE_BIN) {
- printf(" Header:\n ");
+ printf(" Header:\n");
for (i = 0; i < 80; i += k) {
+ printf(" ");
for (k = 0; k < MIN(80 - i, 20); k++)
printf(" %02x", (uint8_t) info->header[i+k]);
printf(" | ");