diff options
author | asanoaozora <fifitaneki@hotmail.com> | 2018-08-31 16:48:47 +0200 |
---|---|---|
committer | asanoaozora <fifitaneki@hotmail.com> | 2018-08-31 16:48:47 +0200 |
commit | b7c2c11d1073c3d3c611002c15e24c4d866ef39a (patch) | |
tree | 0cd5bba553c4e32514d320239d48ed814f84a3b9 /src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff | |
parent | 9346ef5281125ab7ea81d8e4ec13e9b3ed1b427b (diff) | |
download | poi-service-b7c2c11d1073c3d3c611002c15e24c4d866ef39a.tar.gz |
Align with latest version of navit, fix some issues
Built with gcc 7.3.0, tested on Ubuntu 18.04
Diffstat (limited to 'src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff')
-rw-r--r-- | src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff b/src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff index 90fae7d..d6ee7b7 100644 --- a/src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff +++ b/src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff @@ -2,12 +2,12 @@ Index: navit/navit/route.c =================================================================== --- navit/route.c (revision 5827) +++ navit/route.c (working copy) -@@ -4103,7 +4103,7 @@ route_remove_attr(struct route *this_, struct attr *attr) - dbg(lvl_debug,"enter\n"); - switch (attr->type) { - case attr_callback: -- callback_list_remove(this_->cbl2, attr->u.callback); -+// callback_list_remove(this_->cbl2, attr->u.callback); - return 1; - case attr_vehicle: - this_->v=NULL; +@@ -3926,7 +3926,7 @@ int route_remove_attr(struct route *this_, struct attr *attr) { + dbg(lvl_debug,"enter"); + switch (attr->type) { + case attr_callback: +- callback_list_remove(this_->cbl2, attr->u.callback); ++// callback_list_remove(this_->cbl2, attr->u.callback); + return 1; + case attr_vehicle: + this_->v=NULL; |