From 9a311fef90cea6c6b777075654505a7f04c0136a Mon Sep 17 00:00:00 2001
From: Daniel Carl <danielcarl@gmx.de>
Date: Wed, 27 Mar 2013 00:58:03 +0100
Subject: [PATCH] Removed count from hist-prev and hist-next command.

There was never a possible way to set the count for the history stepping and
the great editor vim has also no count for the history stepping, so there's no
need to have it in vimb browser too.
---
 doc/vimb.1.txt | 2 +-
 src/command.c  | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/doc/vimb.1.txt b/doc/vimb.1.txt
index cb5cb7b..797e4ce 100644
--- a/doc/vimb.1.txt
+++ b/doc/vimb.1.txt
@@ -289,7 +289,7 @@ Zoom \fIN\fP steps in or out of the current page \- effecting all elements.
 Reset the zoomlevel to the default value.
 .SS History
 .TP
-.BI [ N "]hist-prev, [" N "]hist-next"
+.B hist-prev, hist-next"
 Prints the previous or next cammand or search query from history into
 inputbox. If there is already text in the input box this will be used to get
 history items. A command is not a internal command, but every string entered
diff --git a/src/command.c b/src/command.c
index 32a3f36..5fd1666 100644
--- a/src/command.c
+++ b/src/command.c
@@ -517,9 +517,8 @@ gboolean command_zoom(const Arg* arg)
 
 gboolean command_history(const Arg* arg)
 {
-    int step          = vb.state.count ? vb.state.count * arg->i : arg->i;
     const char* input = GET_TEXT();
-    char* entry       = history_get(input, step);
+    char* entry       = history_get(input, arg->i);
 
     if (!entry) {
         return FALSE;
-- 
2.20.1