summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vncviewer/X11PixelBuffer.cxx4
1 files changed, 1 insertions, 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;