typofix
[surf.git] / surf.c
diff --git a/surf.c b/surf.c
index 29bf8c6..21b0a9f 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -349,7 +349,7 @@ loaduri(Client *c, const Arg *arg) {
 void
 navigate(Client *c, const Arg *arg) {
        gint steps = *(gint *)arg;
-       webkit_web_view_can_go_back_or_forward(c->view, steps);
+       webkit_web_view_go_back_or_forward(c->view, steps);
 }
 
 Client *