diff -ur mc.git/src/view.c mc.src/src/view.c
old
|
new
|
|
3005 | 3005 | static void |
3006 | 3006 | view_moveto_addr_cmd (WView *view) |
3007 | 3007 | { |
3008 | | char *line, *error, prompt[BUF_SMALL]; |
| 3008 | char *line, *error, prompt_format[BUF_SMALL], prompt[BUF_SMALL]; |
3009 | 3009 | offset_type addr; |
3010 | 3010 | |
3011 | | g_snprintf (prompt, sizeof (prompt), |
3012 | | _(" The current address is 0x%08"OFFSETTYPE_PRIX".\n" |
3013 | | " Enter the new address:"), view->hex_cursor); |
| 3011 | g_snprintf (prompt_format, sizeof (prompt_format), |
| 3012 | _(" The current address is %s.\n" |
| 3013 | " Enter the new address:"), "0x%08"OFFSETTYPE_PRIX""); |
| 3014 | |
| 3015 | g_snprintf (prompt, sizeof (prompt), prompt_format, view->hex_cursor); |
3014 | 3016 | |
3015 | 3017 | line = input_dialog (_(" Goto Address "), prompt, MC_HISTORY_VIEW_GOTO_ADDR, ""); |
3016 | 3018 | if (line != NULL) { |