summaryrefslogtreecommitdiff
path: root/desktop/tree.h
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-07-26 22:29:15 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2008-07-26 22:29:15 +0000
commit5f6c2cbff7cd778b6487943d62e71ff9e7b04893 (patch)
tree2755ac7fd68397c47142e4ba030b8212e16862b2 /desktop/tree.h
parentaae686d90a3741293c6b3f2d15c7e2976b72adb9 (diff)
downloadnetsurf-5f6c2cbff7cd778b6487943d62e71ff9e7b04893.tar.gz
netsurf-5f6c2cbff7cd778b6487943d62e71ff9e7b04893.tar.bz2
- Compiler warning squash
- Changed a lineending \n\r -> \n for a couple of files. - More code style conformance. svn path=/trunk/netsurf/; revision=4762
Diffstat (limited to 'desktop/tree.h')
-rw-r--r--desktop/tree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/tree.h b/desktop/tree.h
index d22efb130..d02f1726e 100644
--- a/desktop/tree.h
+++ b/desktop/tree.h
@@ -74,7 +74,7 @@ struct node_element {
struct node *parent; /* <-- Parent node */
node_element_type type; /* <-- Element type */
struct node_element_box box; /* <-- Element bounding box */
- char *text; /* <-- Text for the element */
+ const char *text; /* <-- Text for the element */
struct node_sprite *sprite; /* <-- Sprite for the element */
struct node_element *next; /* <-- Next node element */
node_element_data data; /* <-- Data being represented */