Diff of /trunk/src/map-tool.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 226 by harbaum, Wed Dec 2 20:05:52 2009 UTC revision 231 by harbaum, Mon Dec 7 16:14:50 2009 UTC
# Line 362  static void map_setup(map_context_t *con Line 362  static void map_setup(map_context_t *con
362    
363    /* remove all existing appearances of this icon first */    /* remove all existing appearances of this icon first */
364    osm_gps_map_remove_image(OSM_GPS_MAP(context->widget),    osm_gps_map_remove_image(OSM_GPS_MAP(context->widget),
365                             icon_get(ICON_MISC, 6));                             icon_get(ICON_MISC, 4));
366    
367    if(!isnan(context->appdata->geomath.lat) &&    if(!isnan(context->appdata->geomath.lat) &&
368       !isnan(context->appdata->geomath.lon))  {       !isnan(context->appdata->geomath.lon))  {
# Line 370  static void map_setup(map_context_t *con Line 370  static void map_setup(map_context_t *con
370      osm_gps_map_add_image(OSM_GPS_MAP(context->widget),      osm_gps_map_add_image(OSM_GPS_MAP(context->widget),
371                            context->appdata->geomath.lat,                            context->appdata->geomath.lat,
372                            context->appdata->geomath.lon,                            context->appdata->geomath.lon,
373                            icon_get(ICON_MISC, 6));                            icon_get(ICON_MISC, 4));
374    }    }
375    
376    if(name) {    if(name) {

Legend:
Removed from v.226  
changed lines
  Added in v.231