[MPlayer-cvslog] r36912 - trunk/gui/win32/preferences.c

ib subversion at mplayerhq.hu
Sun Feb 23 20:35:08 CET 2014


Author: ib
Date: Sun Feb 23 20:35:08 2014
New Revision: 36912

Log:
Don't automatically apply the Win32 GUI preferences' defaults.

Just present them and let the user decide whether to apply or to cancel.

Modified:
   trunk/gui/win32/preferences.c

Modified: trunk/gui/win32/preferences.c
==============================================================================
--- trunk/gui/win32/preferences.c	Sun Feb 23 20:33:46 2014	(r36911)
+++ trunk/gui/win32/preferences.c	Sun Feb 23 20:35:08 2014	(r36912)
@@ -514,7 +514,6 @@ static LRESULT CALLBACK PrefsWndProc(HWN
                     SendDlgItemMessage(hwnd, ID_OSD1, BM_SETCHECK, BST_CHECKED, 0);
                     SendDlgItemMessage(hwnd, ID_OSD2, BM_SETCHECK, BST_UNCHECKED, 0);
                     SendDlgItemMessage(hwnd, ID_OSD3, BM_SETCHECK, BST_UNCHECKED, 0);
-                    SendMessage(hwnd, WM_COMMAND, (WPARAM)ID_APPLY, 0);
                     break;
                 }
                 case ID_CANCEL:


More information about the MPlayer-cvslog mailing list