summaryrefslogtreecommitdiff
path: root/protocols/Weather/weather_contacts.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-08-19 11:17:23 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-08-19 11:17:23 +0000
commit1e10085801d12b93c0fb11340e2d495e76b205dd (patch)
tree38aa763d72dcde30c089be58ebef9c2909af979d /protocols/Weather/weather_contacts.cpp
parentb4485ac19d490a1cd36d1aa9dd3eeed8076d0e89 (diff)
even more unicode fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1499 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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 ============