From 530a075ff378ae7a76464d291b0e412565b01048 Mon Sep 17 00:00:00 2001 From: george82 Date: Tue, 29 Mar 2005 15:24:08 +0000 Subject: [PATCH] Fixed the bug with resetting the player options (pixelFormatIndex) to defaults. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@280 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- rfbplayer/OptionsDialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfbplayer/OptionsDialog.h b/rfbplayer/OptionsDialog.h index c31e3fbf..f3190ebb 100644 --- a/rfbplayer/OptionsDialog.h +++ b/rfbplayer/OptionsDialog.h @@ -77,7 +77,7 @@ protected: enableItem(IDC_BIG_ENDIAN, !isItemChecked(IDC_ASK_PF)); } if (item == IDC_DEFAULT) { - SendMessage(combo, CB_SETCURSEL, DEFAULT_PF_INDEX, 0); + SendMessage(combo, CB_SETCURSEL, DEFAULT_PF_INDEX + 1, 0); enableItem(IDC_PIXELFORMAT, !DEFAULT_ASK_PF); setItemChecked(IDC_ASK_PF, DEFAULT_ASK_PF); setItemChecked(IDC_ACCEPT_BELL, DEFAULT_ACCEPT_BELL); -- 2.39.5