summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype/src/skype_dialogs.cpp')
-rw-r--r--protocols/Skype/src/skype_dialogs.cpp5
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);