diff options
author | George Hazan <ghazan@miranda.im> | 2018-09-03 18:25:42 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-09-03 18:25:42 +0300 |
commit | c0274fa5abfcfb59a4c8ae4d113d705ea0272c4c (patch) | |
tree | d8eda62b1e94d67f84a121295a3cb8f68b01849e /plugins/BasicHistory/src | |
parent | 4db67c1a255bf379e63641eff1f3527ea6aa2759 (diff) |
popup code cleaning
Diffstat (limited to 'plugins/BasicHistory/src')
-rw-r--r-- | plugins/BasicHistory/src/Scheduler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BasicHistory/src/Scheduler.cpp b/plugins/BasicHistory/src/Scheduler.cpp index 57b93a97c8..9e15d37eeb 100644 --- a/plugins/BasicHistory/src/Scheduler.cpp +++ b/plugins/BasicHistory/src/Scheduler.cpp @@ -71,10 +71,10 @@ void InitScheduler() bPopupsEnabled = ServiceExists(MS_POPUP_ADDPOPUPT) || ServiceExists(MS_POPUP_ADDPOPUPCLASS);
POPUPCLASS test = { sizeof(test) };
- test.flags = PCF_TCHAR;
+ test.flags = PCF_UNICODE;
test.hIcon = Skin_LoadIcon(SKINICON_OTHER_HISTORY);
test.iSeconds = 10;
- test.pwszDescription = TranslateT("History task");
+ test.pszDescription.w = TranslateT("History task");
test.pszName = MODULENAME;
if (hPopupClass = Popup_RegisterClass(&test))
HookEvent(ME_SYSTEM_SHUTDOWN, OnShutdown);
|