Fix unintended renaming

pull/1/head
Darrell Anderson 11 years ago
parent 0f38893985
commit d31f7a29a4

@ -62,9 +62,9 @@
// ** IPC_GETLISTLENGTH returns the length of the current playlist, in
// ** tracks.
#define IPC_GETETQDATA 127
// ** int data=SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETETQDATA);
// ** IPC_GETETQDATA queries the status of the EQ.
#define IPC_GETEQDATA 127
// ** int data=SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETEQDATA);
// ** IPC_GETEQDATA queries the status of the EQ.
// ** The value returned depends on what 'pos' is set to:
// ** Value Meaning
// ** ------------------
@ -74,10 +74,10 @@
// ** 12 Autoload. zero if disabled, nonzero if enabled.
#define IPC_SETETQDATA 128
// ** SendMessage(hwnd_winamp,WM_WA_IPC,pos,IPC_GETETQDATA);
// ** 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
// ** by IPC_GETETQDATA. This is pretty lame, and we should provide
// ** by IPC_GETEQDATA. This is pretty lame, and we should provide
// ** an extended version that lets you do a MAKELPARAM(pos,value).
// ** someday...
@ -501,7 +501,7 @@ bool KviWinampInterface::setEqData(int &iPos, int &iVal)
HWND hWinamp = find_winamp(this);
if(hWinamp)
{
SendMessage(hWinamp,WM_USER,iPos,IPC_GETETQDATA);
SendMessage(hWinamp,WM_USER,iPos,IPC_GETEQDATA);
SendMessage(hWinamp,WM_USER,iVal,IPC_SETETQDATA);
return true;
}
@ -514,7 +514,7 @@ int KviWinampInterface::getEqData(int &ival)
int ret = -1;
if(hWinamp)
{
ret = SendMessage(hWinamp,WM_USER,ival,IPC_GETETQDATA);
ret = SendMessage(hWinamp,WM_USER,ival,IPC_GETEQDATA);
return ret;
}
return ret;

Loading…
Cancel
Save