summaryrefslogtreecommitdiff
path: root/navit/graphics/null/graphics_null.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/graphics/null/graphics_null.c')
-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 552999d45..a04d12b6a 100644
--- a/navit/graphics/null/graphics_null.c
+++ b/navit/graphics/null/graphics_null.c
@@ -211,7 +211,7 @@ static struct graphics_priv *graphics_null_new(struct navit *nav, struct graphic
struct attr *event_loop_system = NULL;
*meth=graphics_methods;
- event_loop_system = attr_search(attrs, NULL, attr_event_loop_system);
+ event_loop_system = attr_search(attrs, attr_event_loop_system);
if (event_loop_system && event_loop_system->u.str) {
dbg(lvl_debug, "event_system is %s", event_loop_system->u.str);