diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 08:40:22 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-12-13 08:40:22 +0000 |
commit | a85d3756ce4eb0257025b005deb795ba05fd4fda (patch) | |
tree | 20a417a340172bf9a7ad0ec34322246b91864801 /plugins/Non-IM Contact/src | |
parent | 303e6b483aff4126701ca375dd085e9ae1d18b43 (diff) |
arg fixes for MS_UTILS_OPENURL service
git-svn-id: http://svn.miranda-ng.org/main/trunk@11362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Non-IM Contact/src')
-rw-r--r-- | plugins/Non-IM Contact/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Non-IM Contact/src/main.cpp b/plugins/Non-IM Contact/src/main.cpp index 3962379e05..0d5247dc58 100644 --- a/plugins/Non-IM Contact/src/main.cpp +++ b/plugins/Non-IM Contact/src/main.cpp @@ -37,10 +37,10 @@ INT_PTR doubleClick(WPARAM wParam,LPARAM lParam) if (!db_get_static(wParam, MODNAME, "ProgramParams", params) )
strcpy(params, "");
if (strstr(program, "http://") || strstr(program, "https://"))
- CallService(MS_UTILS_OPENURL,1,(LPARAM)program);
+ CallService(MS_UTILS_OPENURL,OUF_NEWWINDOW,(LPARAM)program);
else shellEXEerror = (int)ShellExecuteA(NULL, NULL, program, params, NULL, SW_SHOW); //ignore the warning, its M$'s backwards compatabilty screwup :)
if (shellEXEerror == ERROR_FILE_NOT_FOUND || shellEXEerror == ERROR_PATH_NOT_FOUND)
- CallService(MS_UTILS_OPENURL,1,(LPARAM)program);
+ CallService(MS_UTILS_OPENURL,OUF_NEWWINDOW,(LPARAM)program);
}
else editContact((WPARAM)(HANDLE)wParam, (LPARAM)NULL);
return 1;
|