From 57b274dd66d7191def2e81f0b6b6c5408641a3d3 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Mon, 6 Aug 2007 17:48:24 +0300 Subject: [PATCH] Formating --- src/map-poi.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/map-poi.c b/src/map-poi.c index b273f5d..18ac055 100644 --- a/src/map-poi.c +++ b/src/map-poi.c @@ -66,7 +66,7 @@ return pixbuf; /** * Render all the POI data. This should be done before rendering track data. */ -void map_render_poi() +void map_render_poi(void) { guint unitx, unity; gfloat lat1, lat2, lon1, lon2; @@ -74,8 +74,11 @@ gint poix, poiy; GdkPixbuf *pixbuf = NULL; printf("%s()\n", __PRETTY_FUNCTION__); -if (!_db) return; -if (_poi_zoom <= _zoom) return; +if (!_db) + return; + +if (_poi_zoom <= _zoom) + return; unitx = x2unit(0); unity = y2unit(BUF_HEIGHT_PIXELS); -- 2.39.5