summaryrefslogtreecommitdiff
path: root/navit/graphics/null
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-09-30 13:29:30 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-09-30 13:29:30 +0000
commit4abb8fdadbf8bf85cce781c65c367f79e12c4712 (patch)
treefd5453dcb2fc7a5ae8800852fe6c3fb60edf1b65 /navit/graphics/null
parentf90e5004ea8ad014f77ae340476030da279efb5f (diff)
downloadnavit-4abb8fdadbf8bf85cce781c65c367f79e12c4712.tar.gz
Fix:Core:Move declarations to the begin to be c95 compatible
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4817 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/graphics/null')
-rw-r--r--navit/graphics/null/graphics_null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/graphics/null/graphics_null.c b/navit/graphics/null/graphics_null.c
index 7fde6fcc8..1c3bbbd86 100644
--- a/navit/graphics/null/graphics_null.c
+++ b/navit/graphics/null/graphics_null.c
@@ -261,8 +261,8 @@ overlay_new(struct graphics_priv *gr, struct graphics_methods *meth, struct poin
static struct graphics_priv *
graphics_null_new(struct navit *nav, struct graphics_methods *meth, struct attr **attrs, struct callback_list *cbl)
{
- *meth=graphics_methods;
struct attr *event_loop_system = NULL;
+ *meth=graphics_methods;
event_loop_system = attr_search(attrs, NULL, attr_event_loop_system);