From 2aef35cfa2f475f3be6c200e93e28f40d99eea43 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 3 Dec 2014 14:01:56 +0100 Subject: [PATCH] Simplify log message as we always use TrueColour --- vncviewer/X11PixelBuffer.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/vncviewer/X11PixelBuffer.cxx b/vncviewer/X11PixelBuffer.cxx index 29f0f933..7e89a60b 100644 --- a/vncviewer/X11PixelBuffer.cxx +++ b/vncviewer/X11PixelBuffer.cxx @@ -80,9 +80,7 @@ static PixelFormat display_pf() if (!trueColour) throw rfb::Exception(_("Only true colour displays supported")); - vlog.info(_("Using default colormap and visual, %sdepth %d."), - (fl_visual->c_class == TrueColor) ? "TrueColor, " : - ((fl_visual->c_class == PseudoColor) ? "PseudoColor, " : ""), + vlog.info(_("Using default colormap and visual, TrueColor, depth %d."), fl_visual->depth); redShift = ffs(fl_visual->red_mask) - 1; -- 2.39.5