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

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

revision 240 by harbaum, Sat Dec 12 20:56:23 2009 UTC revision 242 by harbaum, Sun Dec 13 19:57:02 2009 UTC
# Line 435  static void map_setup(map_context_t *con Line 435  static void map_setup(map_context_t *con
435    }    }
436    
437    if(name) {    if(name) {
438      char *title = g_strdup_printf(_("Map - %s"), name);      gtk_window_set_title(GTK_WINDOW(context->window), name);
439      g_free(name);      g_free(name);
   
     gtk_window_set_title(GTK_WINDOW(context->window), title);  
   
     g_free(title);  
440    } else    } else
441      printf("map_setup(keep)\n");      printf("map_setup(keep)\n");
442  }  }

Legend:
Removed from v.240  
changed lines
  Added in v.242