summaryrefslogtreecommitdiff
path: root/src/navigation/patches/fsa_issue_padding.diff
blob: 666928cf385edc068fc53d28c82be6c235485c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: navit/navit/navit.c
===================================================================
--- navit/navit.c	(revision 5827)
+++ navit/navit.c	(working copy)
@@ -2353,10 +2353,12 @@ navit_get_cursor_pnt(struct navit *this_, struct point *p, int keep_orientation,
         }
 #endif
 
+#if 0
 	if (this_->gra) {
 		padding = graphics_get_data(this_->gra, "padding");
 	} else
 		dbg(lvl_warning, "cannot get padding: this->gra is NULL\n");
+#endif
 
 	transform_get_size(this_->trans, &width, &height);
 	dbg(lvl_debug, "width=%d height=%d\n", width, height);