summaryrefslogtreecommitdiff
path: root/navit/navit.h
diff options
context:
space:
mode:
authorakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-03-16 11:05:11 +0000
committerakashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220>2010-03-16 11:05:11 +0000
commitabdcb6bfd0834251abf48b53e7ae478ff3528df7 (patch)
tree123350b6529692eb982832279a7bd57aec1d8f84 /navit/navit.h
parent46f1cc1e648e334c0f34d9bb5342cd893a87f985 (diff)
downloadnavit-abdcb6bfd0834251abf48b53e7ae478ff3528df7.tar.gz
Fix:core:Guarded navit_set_layout_by_name from modifying layout name
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3021 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/navit.h')
-rw-r--r--navit/navit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/navit.h b/navit/navit.h
index 27d7cc697..bffa71b83 100644
--- a/navit/navit.h
+++ b/navit/navit.h
@@ -98,7 +98,7 @@ struct navigation *navit_get_navigation(struct navit *this_);
struct displaylist *navit_get_displaylist(struct navit *this_);
int navit_block(struct navit *this_, int block);
void navit_layout_switch(struct navit *n);
-int navit_set_layout_by_name(struct navit *n, char* name);
+int navit_set_layout_by_name(struct navit *n, const char* name);
void navit_destroy(struct navit *this_);
/* end of prototypes */
#ifdef __cplusplus