diff options
author | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-16 11:05:11 +0000 |
---|---|---|
committer | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-03-16 11:05:11 +0000 |
commit | abdcb6bfd0834251abf48b53e7ae478ff3528df7 (patch) | |
tree | 123350b6529692eb982832279a7bd57aec1d8f84 /navit/navit.h | |
parent | 46f1cc1e648e334c0f34d9bb5342cd893a87f985 (diff) | |
download | navit-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.h | 2 |
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 |