aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-12-03 14:01:56 +0100
committerPierre Ossman <ossman@cendio.se>2014-12-03 14:01:56 +0100
commit2aef35cfa2f475f3be6c200e93e28f40d99eea43 (patch)
tree20ad5d46b91a5c93f404279272386a855ceb242f /vncviewer
parentc76bd2b4823db606db11c8e4b405c978daafdf5f (diff)
downloadtigervnc-2aef35cfa2f475f3be6c200e93e28f40d99eea43.tar.gz
tigervnc-2aef35cfa2f475f3be6c200e93e28f40d99eea43.zip
Simplify log message as we always use TrueColour
Diffstat (limited to 'vncviewer')
-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;