]> source.dussan.org Git - tigervnc.git/commitdiff
Simplify log message as we always use TrueColour
authorPierre Ossman <ossman@cendio.se>
Wed, 3 Dec 2014 13:01:56 +0000 (14:01 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 3 Dec 2014 13:01:56 +0000 (14:01 +0100)
vncviewer/X11PixelBuffer.cxx

index 29f0f9333be2e888ff5a25fe263b757590762872..7e89a60bf7cb5a1c445feecd82cae4b6d46f92d2 100644 (file)
@@ -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;