diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-21 07:22:50 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-21 07:22:50 +0000 |
commit | eea0e07f23b6a58b30f281254fdda119b4371fcb (patch) | |
tree | 2a66d3d0dd3cac6678c3648d81447d0d8c6e9d3d /protocols | |
parent | 15113f192d8c596a1e377aa825ce3fd561860d75 (diff) |
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@2777 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Skype/src/skype_profile.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/Skype/src/skype_profile.cpp b/protocols/Skype/src/skype_profile.cpp index 1fe5122066..d9df4724c4 100644 --- a/protocols/Skype/src/skype_profile.cpp +++ b/protocols/Skype/src/skype_profile.cpp @@ -142,7 +142,7 @@ void CSkypeProto::UpdateOwnHomepage() this->DeleteSetting("Homepage");
else
this->SetSettingString("Homepage", homepage);
- ::mir_free(homepage);
+ ::mir_free(homepage);
}
void CSkypeProto::UpdateOwnLanguages()
@@ -153,7 +153,7 @@ void CSkypeProto::UpdateOwnLanguages() char* isocode = ::mir_utf8decodeA((const char*)data);
if (strcmp(isocode, "") == 0)
{
- this->DeleteSetting("Language1");
+ this->DeleteSetting("Language1");
}
else
{
@@ -208,7 +208,7 @@ void CSkypeProto::UpdateOwnOfficePhone() if (wcscmp(phone, L"") == 0)
this->DeleteSetting("CompanyPhone");
else
- this->SetSettingString("CompanyPhone", phone);
+ this->SetSettingString("CompanyPhone", phone);
::mir_free(phone);
}
@@ -220,7 +220,7 @@ void CSkypeProto::UpdateOwnState() if (wcscmp(state, L"") == 0)
this->DeleteSetting("State");
else
- this->SetSettingString("State", state);
+ this->SetSettingString("State", state);
::mir_free(state);
}
@@ -259,7 +259,7 @@ void CSkypeProto::UpdateOwnTimezone() uint mins = ::abs((int)(diffmin % 60));
wchar_t timeshift[7];
::mir_sntprintf(timeshift, SIZEOF(timeshift), _T("%s%d:%02d"), sign, hours, mins);
-
+
wchar_t *szMin = wcschr(timeshift, ':');
int nTz = ::_wtoi(timeshift) * -2;
nTz += (nTz < 0 ? -1 : 1) * (szMin ? _ttoi( szMin + 1 ) / 30 : 0);
@@ -375,5 +375,5 @@ void CSkypeProto::OnProfileChanged(int prop) void __cdecl CSkypeProto::LoadOwnInfo(void*)
{
- this->UpdateOwnProfile();
+ this->UpdateOwnProfile();
}
\ No newline at end of file |