Diff of /trunk/src/osm.c

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

revision 2 by achadwick, Wed Dec 10 00:00:05 2008 UTC revision 6 by achadwick, Thu Dec 11 13:26:13 2008 UTC
# Line 893  osm_t *osm_parse(char *filename) { Line 893  osm_t *osm_parse(char *filename) {
893    
894  gboolean osm_sanity_check(GtkWidget *parent, osm_t *osm) {  gboolean osm_sanity_check(GtkWidget *parent, osm_t *osm) {
895    if(!osm->bounds) {    if(!osm->bounds) {
896      errorf(parent, _("Ivalid data in OSM file:\n"      errorf(parent, _("Invalid data in OSM file:\n"
897                       "Boundary box missing!"));                       "Boundary box missing!"));
898      return FALSE;      return FALSE;
899    }    }
900    if(!osm->node) {    if(!osm->node) {
901      errorf(parent, _("Ivalid data in OSM file:\n"      errorf(parent, _("Invalid data in OSM file:\n"
902                       "No drawable content found!"));                       "No drawable content found!"));
903      return FALSE;      return FALSE;
904    }    }

Legend:
Removed from v.2  
changed lines
  Added in v.6