From d39469adbc85ff82e876cdcb58559d1f54de9fb3 Mon Sep 17 00:00:00 2001 From: Dieter Plaetinck Date: Mon, 27 Apr 2009 20:38:29 +0200 Subject: fixes for calling commands --- uzbl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uzbl.c') diff --git a/uzbl.c b/uzbl.c index 665ad23..85b7cd4 100644 --- a/uzbl.c +++ b/uzbl.c @@ -244,10 +244,10 @@ static void parse_command(const char *cmd) { unsigned int i; Command *c = NULL; - char buffer[200]; + char buffer[512]; strcpy(buffer,cmd); char * command_name = strtok (buffer, " "); - char * command_param = strtok (NULL, " ,"); + gchar * command_param = strtok (NULL, " ,"); Command *c_tmp = NULL; for (i = 0; i < LENGTH (commands); i++) { -- cgit v1.2.3