From 16b8ec5d6cad85187535816eabe8e8273cdc8f5c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 28 Jun 2009 18:17:07 +0100 Subject: [PATCH] Better message for incomprehensible displays --- pctb/structure.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pctb/structure.c b/pctb/structure.c index d053b44..de7d3ce 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", -- 2.30.2