aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Helmut Grohne <helmut@subdivi.de>2009-07-29 22:36:45 +0200
committerGravatar Helmut Grohne <helmut@subdivi.de>2009-07-29 22:36:45 +0200
commit69b825b098d7181b04886f13183c098ca20dcf3a (patch)
tree2bb0b82857818408b07b12d977bdd4a57ff861d0
parent25f974d26cb08f11846dc9b9bc44698745c539fe (diff)
converted further void**ptr usages to union
-rw-r--r--uzbl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uzbl.c b/uzbl.c
index 6127680..ea2e910 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -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);
}