diff options
author | George Hazan <george.hazan@gmail.com> | 2013-05-16 15:19:22 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-05-16 15:19:22 +0000 |
commit | 011137bd4d5ef75cfb832f82a0cb47b06124a022 (patch) | |
tree | b074d2b22acbc4eac3c39e01c4842a5f908c2c3f /plugins/Weather/src | |
parent | fa02e76e325bfec6ca2737fcb086cab4e3de3cba (diff) |
words of wisdom were well received
now the shortened types are called ptrA, ptrT & ptrW respectively
git-svn-id: http://svn.miranda-ng.org/main/trunk@4682 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src')
-rw-r--r-- | plugins/Weather/src/weather_addstn.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Weather/src/weather_addstn.cpp b/plugins/Weather/src/weather_addstn.cpp index 1e7491249a..cc51c71e26 100644 --- a/plugins/Weather/src/weather_addstn.cpp +++ b/plugins/Weather/src/weather_addstn.cpp @@ -308,8 +308,8 @@ int NameSearchProc(TCHAR *name, const int searchId, WINAMESEARCH *sData, TCHAR * // replace spaces with %20
char loc[256];
- MCBuf szSearchName( mir_utf8encodeT(name));
- wsprintfA(loc, sData->SearchURL, MCBuf( mir_urlEncode(szSearchName)));
+ ptrA szSearchName( mir_utf8encodeT(name));
+ wsprintfA(loc, sData->SearchURL, ptrA( mir_urlEncode(szSearchName)));
if (InternetDownloadFile(loc, NULL, &szData) == 0) {
TCHAR* szInfo = szData;
search = _tcsstr(szInfo, sData->NotFoundStr); // determine if data is available
|