diff options
author | Helmut Grohne <helmut@subdivi.de> | 2009-07-29 22:36:45 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2009-07-29 22:36:45 +0200 |
commit | 69b825b098d7181b04886f13183c098ca20dcf3a (patch) | |
tree | 2bb0b82857818408b07b12d977bdd4a57ff861d0 | |
parent | 25f974d26cb08f11846dc9b9bc44698745c539fe (diff) |
converted further void**ptr usages to union
-rw-r--r-- | uzbl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1908,8 +1908,8 @@ set_var_value(const gchar *name, gchar *val) { c->func = NULL; c->writeable = 1; buf = expand(val, 0); - c->ptr = malloc(sizeof(char *)); - *c->ptr = buf; + c->ptr.s = malloc(sizeof(char *)); + *c->ptr.s = buf; g_hash_table_insert(uzbl.comm.proto_var, g_strdup(name), (gpointer) c); } |