Make the examine command honor db_pager_quit so you can use 'q' or 'x'
at the pager prompt to abort an examine command that spans multiple pages. MFC after: 1 week
This commit is contained in:
parent
68b11e74f4
commit
6b76a4c77a
@ -80,7 +80,7 @@ db_examine(addr, fmt, count)
|
||||
int width;
|
||||
char * fp;
|
||||
|
||||
while (--count >= 0) {
|
||||
while (--count >= 0 && !db_pager_quit) {
|
||||
fp = fmt;
|
||||
size = 4;
|
||||
while ((c = *fp++) != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user