summaryrefslogtreecommitdiff
path: root/protocols/Weather/weather_contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Weather/weather_contacts.cpp')
-rw-r--r--protocols/Weather/weather_contacts.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Weather/weather_contacts.cpp b/protocols/Weather/weather_contacts.cpp
index fe48b1926d..7089e04056 100644
--- a/protocols/Weather/weather_contacts.cpp
+++ b/protocols/Weather/weather_contacts.cpp
@@ -31,9 +31,7 @@ static void OpenUrl( TCHAR* format, TCHAR* id )
GetID( id );
mir_sntprintf( loc, SIZEOF(loc), format, id );
- char* szUrl = mir_t2a( loc );
- CallService(MS_UTILS_OPENURL, opt.NewBrowserWin, (LPARAM)szUrl );
- mir_free( szUrl );
+ CallService(MS_UTILS_OPENURL, opt.NewBrowserWin | OUF_TCHAR, (LPARAM)loc );
}
//============ BASIC CONTACTS FUNCTIONS AND LINKS ============