X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fmhshowsbr.c;h=ef6f02c17459c9dfe6632b37bb0fe74ca0b3b3e4;hp=e76dbaac92cbaaa10b64082346edd92fad48d323;hb=2da3024caea2be71550f9eabd2fbc08fefe29bb5;hpb=794dab6aa5027ffaf024506140c258f6a0a9322d diff --git a/uip/mhshowsbr.c b/uip/mhshowsbr.c index e76dbaa..ef6f02c 100644 --- a/uip/mhshowsbr.c +++ b/uip/mhshowsbr.c @@ -509,10 +509,11 @@ show_content_aux2 (CT ct, int serial, int alternate, char *cracked, char *buffer read (fileno (stdout), prompt, sizeof(prompt)); } SIGNAL (SIGINT, istat); - if (intr != OK) { + if (intr != OK || prompt[0] == 'n') { (*ct->c_ceclosefnx) (ct); return (alternate ? DONE : NOTOK); } + if (prompt[0] == 'q') done(OK); } }