diff options
Diffstat (limited to 'plugins/Alarms/trigger.cpp')
-rw-r--r-- | plugins/Alarms/trigger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Alarms/trigger.cpp b/plugins/Alarms/trigger.cpp index b52ff8f654..532b98920c 100644 --- a/plugins/Alarms/trigger.cpp +++ b/plugins/Alarms/trigger.cpp @@ -48,7 +48,7 @@ static INT_PTR CALLBACK DlgProcTriggerOptions(HWND hwndDlg, UINT msg, WPARAM wPa td.cbSize = sizeof(td);
td.dFlags = DF_TEXT;
- td.szText = i->szDesc;
+ td.tszText = i->szDesc;
//*(SPECIFICTRIGGERINFO **)lParam = &sti;
break;
}
@@ -97,7 +97,7 @@ int LoadTriggerSupport() { treg.pszName = Translate("Alarms");
treg.hInstance = hInst;
treg.pfnDlgProc = DlgProcTriggerOptions;
- treg.pszTemplate = MAKEINTRESOURCE(IDD_OPTTRIGGER);
+ treg.pszTemplate = MAKEINTRESOURCEA(IDD_OPTTRIGGER);
CallService(MS_TRIGGER_REGISTERTRIGGER, 0, (LPARAM)&treg);
}
|