]> git.pond.sub.org Git - empserver/blobdiff - src/lib/subs/shpsub.c
COPYING duplicates information from README. Remove. Move GPL from
[empserver] / src / lib / subs / shpsub.c
index 5a9a63e2b529e7b7c37e84902b528e3c9ec7b29f..c1b021142c400a8d3557667a9994f2b77f35ece8 100644 (file)
@@ -19,9 +19,9 @@
  *
  *  ---
  *
- *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- *  related information and legal notices. It is expected that any future
- *  projects/authors will amend these files as needed.
+ *  See files README, COPYING and CREDITS in the root of the source
+ *  tree for related information and legal notices.  It is expected
+ *  that future projects/authors will amend these files as needed.
  *
  *  ---
  *
@@ -162,7 +162,7 @@ shp_nav(struct emp_qelem *list, double *minmobp, double *maxmobp,
            continue;
        case CN_LANDLOCKED:
            shp_mess("is landlocked", mlp);
-           break;
+           continue;
        case CN_NAVIGABLE:
            break;
        case CN_ERROR:
@@ -370,7 +370,7 @@ shp_mess(s_char *str, struct mlist *mlp)
 int
 shp_check_nav(struct sctstr *sect)
 {
-    switch (dchr[sect->sct_type].d_nav & 03) {
+    switch (dchr[sect->sct_type].d_nav) {
     case NAVOK:
        break;