summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_dialogs.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-04-30 09:08:11 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-04-30 09:08:11 +0000
commitf33af68a6bb36bb2cbfa69bed3f71beacefaaccc (patch)
tree129ce9e7419a0b4c666a853a3c133324b3c16e81 /protocols/Skype/src/skype_dialogs.cpp
parentd373118fad0c3567cfce3817ce363176274a3930 (diff)
added setting own timezone
git-svn-id: http://svn.miranda-ng.org/main/trunk@4572 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_dialogs.cpp')
-rw-r--r--protocols/Skype/src/skype_dialogs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/Skype/src/skype_dialogs.cpp b/protocols/Skype/src/skype_dialogs.cpp
index d75aff64ca..00145dbce4 100644
--- a/protocols/Skype/src/skype_dialogs.cpp
+++ b/protocols/Skype/src/skype_dialogs.cpp
@@ -659,6 +659,9 @@ static INT_PTR CALLBACK HomeSkypeDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam,
}
tmi.prepareList((HANDLE)lParam, GetDlgItem(hwndDlg, IDC_TIMEZONE), TZF_PLF_CB);
+ HANDLE hTimeZone = tmi.createByContact ? tmi.createByContact(NULL, 0) : 0;
+ LPCTSTR TzDescr = tmi.getTzDescription(tmi.getTzName(hTimeZone));
+ SetDlgItemText(hwndDlg, IDC_TIMEZONE, TzDescr);
}
break;