From: Ian Jackson Date: Sat, 4 Jul 2009 20:08:28 +0000 (+0100) Subject: do not attempt to parse the shoppe tab X-Git-Tag: 1.9.2~11 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=87d181aeaffe81e83f2f08430cb78998b231770b;ds=inline do not attempt to parse the shoppe tab --- diff --git a/pctb/structure.c b/pctb/structure.c index 200b86e..8887c8a 100644 --- a/pctb/structure.c +++ b/pctb/structure.c @@ -671,7 +671,7 @@ void find_islandname(RgbImage *ri) { } identify_rgbimage(ri, islandnamer, archisland, "island"); - } else { + } else if (!strcmp(sunshine,"Land - Ahoy")) { Rect islandnamer; islandnamer.tl.x= (sunshiner.tl.x + sunshiner.br.x) / 2; @@ -757,6 +757,10 @@ void find_islandname(RgbImage *ri) { islandnamer.br.x= p.x; identify_rgbimage(ri, islandnamer, archisland, "island"); + } else { + + MUST(!"sunshine shows ship or ahoy", MS(sunshine) ); + } char *delim= strstr(archisland," - ");