From 6528aff97ba74fad20571acae33228a893bb4a7f Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 6 Jun 2013 11:33:10 +0200 Subject: [PATCH] joy.cpl: Return the correct id for the icon. --- dlls/joy.cpl/joy.h | 2 ++ dlls/joy.cpl/main.c | 1 + 2 files changed, 3 insertions(+) diff --git a/dlls/joy.cpl/joy.h b/dlls/joy.cpl/joy.h index 16d7a0beb98..ec7af4f7879 100644 --- a/dlls/joy.cpl/joy.h +++ b/dlls/joy.cpl/joy.h @@ -94,6 +94,8 @@ struct JoystickData { #define IDC_FFSELECTCOMBO 2009 #define IDC_FFEFFECTLIST 2010 +#define ICO_MAIN 100 + /* constants */ #define TEST_POLL_TIME 100 diff --git a/dlls/joy.cpl/main.c b/dlls/joy.cpl/main.c index 8cb1824901a..d294e354869 100644 --- a/dlls/joy.cpl/main.c +++ b/dlls/joy.cpl/main.c @@ -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; -- 2.11.4.GIT