diff options
Diffstat (limited to 'plugins/MobileState/src')
-rw-r--r-- | plugins/MobileState/src/main.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/plugins/MobileState/src/main.cpp b/plugins/MobileState/src/main.cpp index 743dfbe0e8..ec106a5ce4 100644 --- a/plugins/MobileState/src/main.cpp +++ b/plugins/MobileState/src/main.cpp @@ -100,14 +100,11 @@ int onModulesLoaded(WPARAM wParam,LPARAM lParam) TCHAR szFile[MAX_PATH];
GetModuleFileName(g_hInst, szFile, MAX_PATH);
- SKINICONDESC sid = {0};
- sid.cbSize = sizeof(sid);
- sid.flags = SIDF_ALL_TCHAR;
-
- sid.ptszSection = _T("Mobile State");
+ SKINICONDESC sid = { sizeof(sid) };
+ sid.flags = SIDF_PATH_TCHAR;
+ sid.pszSection = "Mobile State";
sid.ptszDefaultFile = szFile;
-
- sid.ptszDescription = _T("Mobile State");
+ sid.pszDescription = "Mobile State";
sid.pszName = "mobile_icon";
sid.iDefaultIndex = -IDI_MOBILE;
Skin_AddIcon(&sid);
|