Restore space after address in hex mode.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-12-06 14:40:46 +03:00
parent 0f3729426a
commit 3e91f81a88

View File

@ -161,7 +161,7 @@ mcview_display_hex (mcview_t * view)
col = 0; col = 0;
/* Print the hex offset */ /* Print the hex offset */
g_snprintf (hex_buff, sizeof (hex_buff), "%08" PRIXMAX, (uintmax_t) from); g_snprintf (hex_buff, sizeof (hex_buff), "%08" PRIXMAX " ", (uintmax_t) from);
widget_move (view, top + row, left); widget_move (view, top + row, left);
tty_setcolor (VIEW_BOLD_COLOR); tty_setcolor (VIEW_BOLD_COLOR);
for (i = 0; col < width && hex_buff[i] != '\0'; i++) for (i = 0; col < width && hex_buff[i] != '\0'; i++)