version 1.36 | | version 1.37 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.36 2002/02/06 05:54:46 mwedel Exp $"; | | * "$Id: map.c,v 1.37 2002/06/07 07:00:41 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
tile, m->path); | | tile, m->path); |
free(m->tile_path[tile-1]); | | free(m->tile_path[tile-1]); |
} | | } |
| | /* This is sort of broken. IF we don't normalize the path, |
| | * the editor will die when it gets a multipart object that |
| | * spans map. However, if we do this, then the tile_paths |
| | * get changed because we normalize them - the normalized paths |
| | * may not be terrible, but not ideal either. |
| | */ |
| | #if 0 |
if (!editor) { | | if (!editor) { |
| | #else |
| | { |
| | #endif |
if (check_path(value, 1)==-1) { | | if (check_path(value, 1)==-1) { |
int i; | | int i; |
/* Need to try and normalize the path. msgbuf is safe to use, | | /* Need to try and normalize the path. msgbuf is safe to use, |