comparison gui/win32/preferences.c @ 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
comparison
equal deleted inserted replaced
36818:530c055800f2 36819:bee0071a0ef3
389 } 389 }
390 } 390 }
391 else gtkAOExtraStereoMul = 1.0; 391 else gtkAOExtraStereoMul = 1.0;
392 SendDlgItemMessage(hwnd, ID_TRACKBAR1, TBM_SETPOS, 1, (LPARAM)stereopos); 392 SendDlgItemMessage(hwnd, ID_TRACKBAR1, TBM_SETPOS, 1, (LPARAM)stereopos);
393 393
394 if(audio_delay)
395 SendDlgItemMessage(hwnd, ID_TRACKBAR2, TBM_SETPOS, 1, (LPARAM)delaypos); 394 SendDlgItemMessage(hwnd, ID_TRACKBAR2, TBM_SETPOS, 1, (LPARAM)delaypos);
396 395
397 if(gtkCacheOn) { 396 if(gtkCacheOn) {
398 SendDlgItemMessage(hwnd, ID_CACHE, BM_SETCHECK, 1, 0); 397 SendDlgItemMessage(hwnd, ID_CACHE, BM_SETCHECK, 1, 0);
399 EnableWindow(edit1, 1); 398 EnableWindow(edit1, 1);