diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-04-27 20:38:29 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-04-27 20:38:29 +0200 |
commit | d39469adbc85ff82e876cdcb58559d1f54de9fb3 (patch) | |
tree | e262862e57fada074396472915ac2d548b1d0da1 /uzbl.c | |
parent | 45f8d682c4072fde518710ad97c2e6a0b9fa48e4 (diff) |
fixes for calling commands
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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++) { |