diff options
author | Helmut Grohne <helmut@subdivi.de> | 2009-07-29 22:45:53 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2009-07-29 22:45:53 +0200 |
commit | fef79b52fd1c650efc5e4c6458a3ccdf35f452f3 (patch) | |
tree | d83c30798d09978310a706c8e33599a9d546979e | |
parent | f5423bfe2855f4aeccfcf38dad6840160ebe96ad (diff) |
fixed wrong n2v_p local variable conversion
-rw-r--r-- | uzbl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |