File src/modes/dialogs/msg_dialog.c changed (mode: 100644) (index 6cef79d06..ad8cdc50b) |
... |
... |
prompt_error_msg_internal(const char title[], const char message[], |
339 |
339 |
}, |
}, |
340 |
340 |
.kind = D_ERROR, |
.kind = D_ERROR, |
341 |
341 |
.prompt_skip = prompt_skip, |
.prompt_skip = prompt_skip, |
342 |
|
.accept_mask = MASK(DR_OK) | (prompt_skip ? MASK(DR_CANCEL) : 0), |
|
|
342 |
|
.accept_mask = MASK(DR_OK, DR_CLOSE) | (prompt_skip ? MASK(DR_CANCEL) : 0), |
343 |
343 |
}; |
}; |
344 |
344 |
enter(&data); |
enter(&data); |
345 |
345 |
|
|
|
... |
... |
get_control_msg(const dialog_data_t *data) |
518 |
518 |
|
|
519 |
519 |
if(data->prompt_skip) |
if(data->prompt_skip) |
520 |
520 |
{ |
{ |
521 |
|
return "Press Return to continue or " |
|
|
521 |
|
return "Press Enter/Escape to continue or " |
522 |
522 |
"Ctrl-C to skip its future error messages"; |
"Ctrl-C to skip its future error messages"; |
523 |
523 |
} |
} |
524 |
524 |
|
|
525 |
|
return "Press Return to continue"; |
|
|
525 |
|
return "Press Enter/Escape to continue"; |
526 |
526 |
} |
} |
527 |
527 |
|
|
528 |
528 |
/* Formats dialog control message for custom set of responses. Returns pointer |
/* Formats dialog control message for custom set of responses. Returns pointer |