projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25f974d
)
converted further void**ptr usages to union
author
Helmut Grohne
<helmut@subdivi.de>
Wed, 29 Jul 2009 20:36:45 +0000
(22:36 +0200)
committer
Helmut Grohne
<helmut@subdivi.de>
Wed, 29 Jul 2009 20:36:45 +0000
(22:36 +0200)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
6127680
..
ea2e910
100644
(file)
--- 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);
}