Fixed wrong parameter for command_open.
authorDaniel Carl <danielcarl@gmx.de>
Wed, 19 Dec 2012 18:31:32 +0000 (19:31 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Wed, 19 Dec 2012 18:31:32 +0000 (19:31 +0100)
src/command.c

index 927d74a..53531c3 100644 (file)
@@ -30,7 +30,7 @@ extern const char *inputbox_bg[2];
 
 static CommandInfo cmd_list[] = {
     /* command           function             arg                                                                           mode */
-    {"open",             command_open,        {VP_MODE_NORMAL, ""},                                                         VP_MODE_NORMAL},
+    {"open",             command_open,        {VP_TARGET_CURRENT, ""},                                                      VP_MODE_NORMAL},
     {"input",            command_input,       {0, ":"},                                                                     VP_MODE_COMMAND},
     {"inputopen",        command_input,       {0, ":open "},                                                                VP_MODE_COMMAND},
     {"inputopencurrent", command_input,       {VP_INPUT_CURRENT_URI, ":open "},                                             VP_MODE_NORMAL},