X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=pctb%2Fstructure.c;h=fba7670a3b510e105dff978f1d21350928c0963f;hp=d053b448bf458b9f1c4f5d45559ccd8482f3b92a;hb=12dab98558133719e1c624dd2d7bf7b5fa93ae07;hpb=0d97db81eec48d6aeead17a27376f73888b6f6b9 diff --git a/pctb/structure.c b/pctb/structure.c index d053b44..fba7670 100644 --- a/pctb/structure.c +++ b/pctb/structure.c @@ -92,10 +92,16 @@ const CanonColourInfo canoncolourinfos[]= { static void mustfail1(const char *file, int line, const char *what) { fprintf(stderr, - "\n\n" - "Unable to figure out contents of YPP client display.\n" - " Check that your client is logged in has the correct display.\n" - " If that isn't the problem, please report this as a fault.\n\n" + "\n\n" + "Unable to figure out contents of YPP client display.\n" + "Please check the following:\n" + " * YPP client is showing commodity listing screen\n" + " * YPP client has antialiased text turned off (Ye / Options / General)\n" + " * YPP client window is on top (we try to raise it but your window\n" + " manager might have prevented that from succeeding)\n" + " * Your X display is 24bpp (NB some VNC servers use 16bpp by default)\n" + "\n" + "If all of these are true, please report this as a fault.\n\n" "Technical details:" " %s:%d: requirement failed:\n" " %s\n", @@ -547,6 +553,8 @@ Rect find_sunshine_widget(void) { } void find_islandname(RgbImage *ri) { + find_structure(page_images[0], 0); + Rect sunshiner= find_sunshine_widget(); char sunshine[MAXIMGIDENT], archisland[MAXIMGIDENT]; @@ -680,8 +688,6 @@ void find_islandname(RgbImage *ri) { islandnamer.br.x= p.x; identify_rgbimage(ri, islandnamer, archisland, "island"); - - assert(!"not vessel"); } char *delim= strstr(archisland," - ");