diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-01 11:34:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-01 11:34:39 +0000 |
commit | 393b989dd82764b10152c06a51d77d27550ccd8e (patch) | |
tree | 7b2c0a22cc524026eae663985a034abafd8c096f /plugins/ExtraIcons/src/DefaultExtraIcons.cpp | |
parent | d06ed7038b92b5c2311004ec25dd00534bab9fe7 (diff) |
extraicons Unicode
git-svn-id: http://svn.miranda-ng.org/main/trunk@2127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}
|