Code

Warn about nothing to enter if REQ_ENTER reaches the view_driver switch
authorJonas Fonseca <fonseca@diku.dk>
Sat, 18 Aug 2007 17:12:47 +0000 (19:12 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Sat, 18 Aug 2007 17:12:47 +0000 (19:12 +0200)
tig.c

diff --git a/tig.c b/tig.c
index 95cad92630cbc823f7aa0dcad41d5ce9b7168f09..7c380e4ef9e5ab8dcfad29697d2547cabb36f840 100644 (file)
--- 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();