projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5423bf
)
fixed wrong n2v_p local variable conversion
author
Helmut Grohne
<helmut@subdivi.de>
Wed, 29 Jul 2009 20:45:53 +0000
(22:45 +0200)
committer
Helmut Grohne
<helmut@subdivi.de>
Wed, 29 Jul 2009 20:45:53 +0000
(22:45 +0200)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
e08d0c0
..
a8e6fd7
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-214,7
+214,7
@@
const struct {
/* construct a hash from the var_name_to_ptr array for quick access */
void
make_var_to_name_hash() {
- struct var_name_to_ptr_t *n2v_p = &var_name_to_ptr;
+ const struct var_name_to_ptr_t *n2v_p = var_name_to_ptr;
uzbl.comm.proto_var = g_hash_table_new(g_str_hash, g_str_equal);
while(n2v_p->name) {
g_hash_table_insert(uzbl.comm.proto_var, n2v_p->name, (gpointer) &n2v_p->cp);