From 669edfcd220a3bd8e69e352578a8fc369477ac08 Mon Sep 17 00:00:00 2001 From: mdankov Date: Wed, 23 Nov 2011 21:25:30 +0000 Subject: Fix:gui_internal:Do not allow duplicate entries in the list of former destinations. Fixes #955. Thank you sleske. git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4847 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'navit/navit.h') diff --git a/navit/navit.h b/navit/navit.h index 9b3630ba6..3bb5f5e1b 100644 --- a/navit/navit.h +++ b/navit/navit.h @@ -79,7 +79,7 @@ GList *navit_get_vehicleprofiles(struct navit *this_); void navit_set_destination(struct navit *this_, struct pcoord *c, const char *description, int async); void navit_set_destinations(struct navit *this_, struct pcoord *c, int count, const char *description, int async); int navit_check_route(struct navit *this_); -struct map* read_former_destinations_from_file(); +struct map* read_former_destinations_from_file(void); void navit_textfile_debug_log(struct navit *this_, const char *fmt, ...); void navit_textfile_debug_log_at(struct navit *this_, struct pcoord *pc, const char *fmt, ...); int navit_speech_estimate(struct navit *this_, char *str); -- cgit v1.2.1