projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove most of the hooks
[apps/madmutt.git]
/
init.c
diff --git
a/init.c
b/init.c
index
ce05070
..
9b9346e
100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-433,9
+433,7
@@
int query_quadoption2(int v, const char *prompt)
return (v);
default:
return (v);
default:
- v = mutt_yesorno(prompt, (v == M_ASKYES));
- CLEARLINE(stdscr, LINES - 1);
- return (v);
+ return mutt_yesorno(prompt, (v == M_ASKYES));
}
}
}
}
@@
-449,12
+447,8
@@
int query_quadoption (int opt, const char *prompt)
return (v);
default:
return (v);
default:
- v = mutt_yesorno (prompt, (v == M_ASKYES));
- CLEARLINE(stdscr, LINES - 1);
- return (v);
+ return mutt_yesorno(prompt, (v == M_ASKYES));
}
}
-
- /* not reached */
}
/* always wise to do what someone else did before */
}
/* always wise to do what someone else did before */
@@
-1773,13
+1767,3
@@
void mutt_init (int skip_sys_rc, string_list_t * commands)
}
}
}
}
-int mutt_get_hook_type (const char *name)
-{
- struct command_t *c;
-
- for (c = Commands; c->name; c++)
- if (c->func == mutt_parse_hook && ascii_strcasecmp (c->name, name) == 0)
- return c->data;
- return 0;
-}
-