summaryrefslogtreecommitdiff
path: root/src/navigation/patches/fsa_issue_padding.diff
blob: 00f89257f74bcce4bd67c14ce33f62c0affd35c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: navit/navit/navit.c
===================================================================
--- navit/navit.c	(revision 5827)
+++ navit/navit.c	(working copy)
@@ -2229,12 +2229,12 @@ static int navit_get_cursor_pnt(struct navit *this_, struct point *p, int keep_o
         offset = (max_offset - min_offset) / (max_offset_speed - min_offset_speed) * (nv->speed - min_offset_speed);
     }
 #endif
-
+#if 0
     if (this_->gra) {
         padding = graphics_get_data(this_->gra, "padding");
     } else
         dbg(lvl_warning, "cannot get padding: this->gra is NULL");
-
+#endif
     transform_get_size(this_->trans, &width, &height);
     dbg(lvl_debug, "width=%d height=%d", width, height);