projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89fdd37
)
var_name_to_ptr should have const names
author
Helmut Grohne
<helmut@subdivi.de>
Sat, 25 Jul 2009 20:44:58 +0000
(22:44 +0200)
committer
Helmut Grohne
<helmut@subdivi.de>
Sat, 25 Jul 2009 20:44:58 +0000
(22:44 +0200)
uzbl.c
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
dead7d5
..
bcc2e60
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-98,7
+98,7
@@
typedef const struct {
#define PTR_C(var, t, fun) { .ptr = (void*)&(var), .type = TYPE_##t, .dump = 0, .writeable = 0, .func = fun }
const struct {
- char *name;
+ const char *name;
uzbl_cmdprop cp;
} var_name_to_ptr[] = {
/* variable name pointer to variable in code type dump callback function */