Diff of /trunk/src/cache.c

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

revision 187 by harbaum, Mon Nov 16 13:39:00 2009 UTC revision 190 by harbaum, Tue Nov 17 10:22:41 2009 UTC
# Line 455  static GtkWidget *cache_wpts(appdata_t * Line 455  static GtkWidget *cache_wpts(appdata_t *
455        ihbox = gtk_hbox_new(FALSE, 0);        ihbox = gtk_hbox_new(FALSE, 0);
456        gtk_box_pack_start(GTK_BOX(ihbox), gtk_image_new_from_pixbuf(        gtk_box_pack_start(GTK_BOX(ihbox), gtk_image_new_from_pixbuf(
457                             icon_bearing(*refpos, wpt->pos)),1,0,0);                             icon_bearing(*refpos, wpt->pos)),1,0,0);
       gtk_box_pack_start_defaults(GTK_BOX(ihbox),  
           GTK_LABEL_SMALL((char*)pos_get_bearing_str(*refpos, wpt->pos)));  
458        snprintf(str, sizeof(str), _("%.1f°"),        snprintf(str, sizeof(str), _("%.1f°"),
459                 gpx_pos_get_bearing(*refpos, wpt->pos));                 gpx_pos_get_bearing(*refpos, wpt->pos));
460        gtk_box_pack_start_defaults(GTK_BOX(ihbox), GTK_LABEL_SMALL(str));        gtk_box_pack_start_defaults(GTK_BOX(ihbox), GTK_LABEL_SMALL(str));

Legend:
Removed from v.187  
changed lines
  Added in v.190