summaryrefslogtreecommitdiff
path: root/protocols/Weather/weather_update.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-20 06:52:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-20 06:52:26 +0000
commitb766ebf1a1091dcc2859a92da300c44e0e432a84 (patch)
tree833eb906adc49c21c799b5bd222e714338dfebd8 /protocols/Weather/weather_update.cpp
parent4c7aed90685d65bc150a16e901542471041bd148 (diff)
- avatars fix for Weather
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@495 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather/weather_update.cpp')
-rw-r--r--protocols/Weather/weather_update.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Weather/weather_update.cpp b/protocols/Weather/weather_update.cpp
index cf3e61826a..f114b80acc 100644
--- a/protocols/Weather/weather_update.cpp
+++ b/protocols/Weather/weather_update.cpp
@@ -293,7 +293,7 @@ void DestroyUpdateList(void)
void UpdateAll(BOOL AutoUpdate, BOOL RemoveData)
{
// add all weather contact to the update queue list
- HANDLE hContact= (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0);
+ HANDLE hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0);
while (hContact != NULL)
{
if (IsMyContact(hContact))
@@ -503,14 +503,14 @@ int GetWeatherData(HANDLE hContact)
hasvar = TRUE;
if ( !DBGetData(hContact, _T2A(str2), &dbv)) {
_tcsncat(DataValue, dbv.ptszVal, SIZEOF(DataValue) - _tcslen(DataValue));
- DataValue[SIZEOF(DataValue)-1]=0;
+ DataValue[SIZEOF(DataValue)-1] = 0;
DBFreeVariant(&dbv);
}
break;
case'\"': // constant, add it to the result string
_tcsncat(DataValue, TranslateTS(str2), SIZEOF(DataValue) - _tcslen(DataValue));
- DataValue[SIZEOF(DataValue)-1]=0;
+ DataValue[SIZEOF(DataValue)-1] = 0;
break;
}