changeset 36819:bee0071a0ef3

Set correct position for audio delay slider in the trackbar. The position must be set unconditionally.
author ib
date Sun, 23 Feb 2014 20:33:41 +0000
parents 530c055800f2
children d90c15fd18d3
files gui/win32/preferences.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/preferences.c	Sun Feb 23 20:04:54 2014 +0000
+++ b/gui/win32/preferences.c	Sun Feb 23 20:33:41 2014 +0000
@@ -391,7 +391,6 @@
             else gtkAOExtraStereoMul = 1.0;
             SendDlgItemMessage(hwnd, ID_TRACKBAR1, TBM_SETPOS, 1, (LPARAM)stereopos);
 
-            if(audio_delay)
                 SendDlgItemMessage(hwnd, ID_TRACKBAR2, TBM_SETPOS, 1, (LPARAM)delaypos);
 
             if(gtkCacheOn) {