---
 surf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/surf.c b/surf.c
index 87c10ef..75fa5db 100644
--- a/surf.c
+++ b/surf.c
@@ -1314,7 +1314,7 @@ static void
 eval(Client *c, const Arg *arg) {
        WebKitWebFrame *frame = webkit_web_view_get_main_frame(c->view);
        evalscript(webkit_web_frame_get_global_context(frame),
-                       ((char **)arg->v)[0], "");
+                       (char *)arg->v, "");
 }
 
 static void
-- 
2.1.4

Attachment: signature.asc
Description: Digital signature

Reply via email to