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

Loading…
Cancel
Save