joy.cpl: Return the correct id for the icon.

This commit is contained in:
Alexandre Julliard 2013-06-06 11:33:10 +02:00
parent 9eb3f6a3db
commit 6528aff97b
2 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,8 @@ struct JoystickData {
#define IDC_FFSELECTCOMBO 2009
#define IDC_FFEFFECTLIST 2010
#define ICO_MAIN 100
/* constants */
#define TEST_POLL_TIME 100

View File

@ -1009,6 +1009,7 @@ LONG CALLBACK CPlApplet(HWND hwnd, UINT command, LPARAM lParam1, LPARAM lParam2)
{
CPLINFO *appletInfo = (CPLINFO *) lParam2;
appletInfo->idIcon = ICO_MAIN;
appletInfo->idName = IDS_CPL_NAME;
appletInfo->idInfo = IDS_CPL_INFO;
appletInfo->lData = 0;