From 6aea5c55b658aebf50c6acd9d9ab29382d8a5256 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 16 Feb 2014 14:59:03 -0600 Subject: Fix unintended renaming --- src/modules/mediaplayer/mp_winampinterface.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/modules/mediaplayer/mp_winampinterface.cpp b/src/modules/mediaplayer/mp_winampinterface.cpp index ef7e4c79..493e0970 100644 --- a/src/modules/mediaplayer/mp_winampinterface.cpp +++ b/src/modules/mediaplayer/mp_winampinterface.cpp @@ -73,10 +73,10 @@ // ** 11 Enabled. zero if disabled, nonzero if enabled. // ** 12 Autoload. zero if disabled, nonzero if enabled. -#define IPC_SETETQDATA 128 +#define IPC_SETEQDATA 128 // ** SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETEQDATA); -// ** SendMessage(hwnd_winamp,WM_WA_IPC,value,IPC_SETETQDATA); -// ** IPC_SETETQDATA sets the value of the last position retrieved +// ** SendMessage(hwnd_winamp,WM_WA_IPC,value,IPC_SETEQDATA); +// ** IPC_SETEQDATA sets the value of the last position retrieved // ** by IPC_GETEQDATA. This is pretty lame, and we should provide // ** an extended version that lets you do a MAKELPARAM(pos,value). // ** someday... @@ -502,7 +502,7 @@ bool KviWinampInterface::setEqData(int &iPos, int &iVal) if(hWinamp) { SendMessage(hWinamp,WM_USER,iPos,IPC_GETEQDATA); - SendMessage(hWinamp,WM_USER,iVal,IPC_SETETQDATA); + SendMessage(hWinamp,WM_USER,iVal,IPC_SETEQDATA); return true; } return false; -- cgit v1.2.1