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 1665211..d574e29 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: