chiark / gitweb /
Cope with islands with names ending in y, from land
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 5 Jul 2009 21:57:55 +0000 (22:57 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 5 Jul 2009 21:57:55 +0000 (22:57 +0100)
pctb/structure.c

index 1665211df8358d6820bc11ceb6c1e51c1887cfa3..d574e2960737d622629761190a8d569ac37436a2 100644 (file)
@@ -812,6 +812,8 @@ void find_islandname(void) {
            might_be_colon=1;
            goto ok_might_be_colon;
          }
+       } else if (nruns==1 && runs[0]==1 && might_be_colon) {
+         goto colon_found;
        }
        might_be_colon=0;
       ok_might_be_colon: