Difference for random_maps/style.c from version 1.25 to 1.26


version 1.25 version 1.26
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_style_c =   * static char *rcsid_style_c =
  *   "$Id: style.c,v 1.25 2006/02/10 23:59:27 akirschbaum Exp $";   *   "$Id: style.c,v 1.26 2006/02/19 17:27:32 akirschbaum Exp $";
  */   */
   
 /*  /*
Line 154
 
Line 154
   
     /* is what we were given a directory, or a file? */      /* is what we were given a directory, or a file? */
     sprintf(style_file_full_path,"%s/maps%s",settings.datadir,style_file_path);      sprintf(style_file_full_path,"%s/maps%s",settings.datadir,style_file_path);
     stat(style_file_full_path,&file_stat);      if (stat(style_file_full_path, &file_stat) == 0
       && !S_ISDIR(file_stat.st_mode)) {
     if(! (S_ISDIR(file_stat.st_mode))) {  
  style_map=load_style_map(style_file_path);   style_map=load_style_map(style_file_path);
     }      }
     if(style_map == NULL)  /* maybe we were given a directory! */      if(style_map == NULL)  /* maybe we were given a directory! */


Legend:
line(s) removed in v.1.25 
line(s) changed
 line(s) added in v.1.26

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:58