summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r--plugins/ListeningTo/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ListeningTo/src/options.cpp b/plugins/ListeningTo/src/options.cpp
index c83109c958..e4df1f5020 100644
--- a/plugins/ListeningTo/src/options.cpp
+++ b/plugins/ListeningTo/src/options.cpp
@@ -248,7 +248,7 @@ static void PlayersEnableDisableCtrls(HWND hwndDlg)
BOOL watrack_found = ServiceExists(MS_WAT_GETMUSICINFO);
EnableWindow(GetDlgItem(hwndDlg, IDC_WATRACK), watrack_found);
- BOOL enabled = !IsDlgButtonChecked(hwndDlg, IDC_WATRACK) || !watrack_found;
+ BOOL enabled = BST_UNCHECKED == IsDlgButtonChecked(hwndDlg, IDC_WATRACK) || !watrack_found;
EnableWindow(GetDlgItem(hwndDlg, IDC_PLAYERS_L), enabled);
BOOL needPoll = FALSE;