From a85d3756ce4eb0257025b005deb795ba05fd4fda Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Sat, 13 Dec 2014 08:40:22 +0000 Subject: arg fixes for MS_UTILS_OPENURL service git-svn-id: http://svn.miranda-ng.org/main/trunk@11362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Non-IM Contact/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Non-IM Contact/src') 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; -- cgit v1.2.3