diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-06 20:49:39 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-12-06 20:49:39 +0000 |
commit | cfd90c47ed918ccfb1cb57e5331a4e7a216ccf10 (patch) | |
tree | ce4e031fa9159bd9c1e2bed51883624d8973e4b6 /protocols/Skype/src/skype_dialogs.cpp | |
parent | 0b2253627c2043fe5a119ee43891246719a6e370 (diff) |
added timezone description in own info
git-svn-id: http://svn.miranda-ng.org/main/trunk@2674 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_dialogs.cpp')
-rw-r--r-- | protocols/Skype/src/skype_dialogs.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp index 4e65d5a495..fa15d819c9 100644 --- a/protocols/Skype/src/skype_dialogs.cpp +++ b/protocols/Skype/src/skype_dialogs.cpp @@ -377,7 +377,10 @@ INT_PTR CALLBACK CSkypeProto::OwnSkypeDlgProc(HWND hwndDlg, UINT msg, WPARAM wPa text = L"Female";
break;
}
- //} else if (!strcmp(setting[lvi.iItem].szDbSetting, "Timezone")) {
+ } else if (!strcmp(setting[lvi.iItem].szDbSetting, "Timezone")) {
+ HANDLE hTimeZone = tmi.createByContact ? tmi.createByContact(NULL, 0) : 0;
+ LPCTSTR TzDescr = tmi.getTzDescription(tmi.getTzName(hTimeZone));
+ text = mir_tstrdup(TzDescr);
} else {
wchar_t tmp[10];
_ltot(ppro->GetSettingByte(setting[lvi.iItem].szDbSetting), tmp, 10);
|