aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-04-27 20:38:29 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-04-27 20:38:29 +0200
commitd39469adbc85ff82e876cdcb58559d1f54de9fb3 (patch)
treee262862e57fada074396472915ac2d548b1d0da1 /uzbl.c
parent45f8d682c4072fde518710ad97c2e6a0b9fa48e4 (diff)
fixes for calling commands
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c4
1 files changed, 2 insertions, 2 deletions
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++) {