From: Pierre Ossman Date: Wed, 3 Dec 2014 13:01:56 +0000 (+0100) Subject: Simplify log message as we always use TrueColour X-Git-Tag: v1.4.90~70^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2aef35cfa2f475f3be6c200e93e28f40d99eea43;p=tigervnc.git Simplify log message as we always use TrueColour --- 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;