Diff of /trunk/src/map.c

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

revision 190 by harbaum, Mon Jul 6 14:06:59 2009 UTC revision 191 by harbaum, Tue Jul 7 07:36:27 2009 UTC
# Line 685  static void map_item_init(style_t *style Line 685  static void map_item_init(style_t *style
685  void map_item_redraw(appdata_t *appdata, map_item_t *map_item) {  void map_item_redraw(appdata_t *appdata, map_item_t *map_item) {
686    map_item_t item = *map_item;    map_item_t item = *map_item;
687    
688      /* a relation cannot be redraws as it doesn't have a visual */
689      /* representation */
690      if(map_item->object.type == RELATION)
691        return;
692    
693    /* check if the item to be redrawn is the selected one */    /* check if the item to be redrawn is the selected one */
694    gboolean is_selected = FALSE;    gboolean is_selected = FALSE;
695    if(map_item->object.ptr == appdata->map->selected.object.ptr) {    if(map_item->object.ptr == appdata->map->selected.object.ptr) {

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