mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
Restore space after address in hex mode.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
0f3729426a
commit
3e91f81a88
@ -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++)
|
||||||
|
Loading…
Reference in New Issue
Block a user