From: Jonas Fonseca Date: Sat, 18 Aug 2007 17:12:47 +0000 (+0200) Subject: Warn about nothing to enter if REQ_ENTER reaches the view_driver switch X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=531c6c69e616a1f3f6a56aaec08334891af078ac;p=tig.git Warn about nothing to enter if REQ_ENTER reaches the view_driver switch --- diff --git a/tig.c b/tig.c index 95cad92..7c380e4 100644 --- a/tig.c +++ b/tig.c @@ -2293,6 +2293,11 @@ view_driver(struct view *view, enum request request) case REQ_EDIT: report("Nothing to edit"); + break; + + case REQ_ENTER: + report("Nothing to enter"); + break; case REQ_NONE: doupdate();