From: Kaj-Michael Lang Date: Mon, 6 Aug 2007 14:48:24 +0000 (+0300) Subject: Formating X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57b274dd66d7191def2e81f0b6b6c5408641a3d3;p=mapper Formating --- 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);