diff options
Diffstat (limited to 'rfbplayer/rfbplayer.cxx')
-rw-r--r-- | rfbplayer/rfbplayer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rfbplayer/rfbplayer.cxx b/rfbplayer/rfbplayer.cxx index 614f5c12..a98ed417 100644 --- a/rfbplayer/rfbplayer.cxx +++ b/rfbplayer/rfbplayer.cxx @@ -891,7 +891,7 @@ void RfbPlayer::serverInit() { throw rdr::Exception("This version plays only true color session!"); // Set the session pixel format - static long pixelFormatIndex = -1; + static long pixelFormatIndex = DEFAULT_PF_INDEX; if (options.askPixelFormat) { ChoosePixelFormatDialog choosePixelFormatDialog(pixelFormatIndex, &supportedPF); if (choosePixelFormatDialog.showDialog(getMainHandle())) { |