diff options
Diffstat (limited to 'plugins/ExtraIcons/src/DefaultExtraIcons.cpp')
-rw-r--r-- | plugins/ExtraIcons/src/DefaultExtraIcons.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ExtraIcons/src/DefaultExtraIcons.cpp b/plugins/ExtraIcons/src/DefaultExtraIcons.cpp index 05d1f9eed6..33cc1afecd 100644 --- a/plugins/ExtraIcons/src/DefaultExtraIcons.cpp +++ b/plugins/ExtraIcons/src/DefaultExtraIcons.cpp @@ -151,12 +151,12 @@ static void EmailOnClick(Info *info, const char *text) {
char cmd[1024];
mir_snprintf(cmd, MAX_REGS(cmd), "mailto:%s", text);
- ShellExecute(NULL, "open", cmd, NULL, NULL, SW_SHOW);
+ ShellExecuteA(NULL, "open", cmd, NULL, NULL, SW_SHOW);
}
static void HomepageOnClick(Info *info, const char *text)
{
- ShellExecute(NULL, "open", text, NULL, NULL, SW_SHOW);
+ ShellExecuteA(NULL, "open", text, NULL, NULL, SW_SHOW);
}
static void DefaultSetIcon(HANDLE hContact, Info *info, const char *text)
@@ -271,9 +271,9 @@ static int DefaultOnClick(WPARAM wParam, LPARAM lParam, LPARAM param) DBVARIANT dbv = { 0 };
if (!DBGetContactSettingString(hContact, info->db[j] == NULL ? proto : info->db[j], info->db[j+1], &dbv))
{
- if (!IsEmpty(dbv.ptszVal))
+ if (!IsEmpty(dbv.pszVal))
{
- info->OnClick(info, dbv.ptszVal);
+ info->OnClick(info, dbv.pszVal);
found = true;
}
|