summaryrefslogtreecommitdiff
path: root/protocols/Yahoo/src/user_info.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:34:21 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-10 20:34:21 +0000
commit7da04e3412a8e4837f3323fe6bdff95a598b3569 (patch)
tree4f64627f63b94107e0a607611ba9869406ed5f4c /protocols/Yahoo/src/user_info.cpp
parentb9cc87ed7878aa5613ac1587a9dfbfb31a312de1 (diff)
protocol DB helpers for YAHOO
git-svn-id: http://svn.miranda-ng.org/main/trunk@5323 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/user_info.cpp')
-rw-r--r--protocols/Yahoo/src/user_info.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/Yahoo/src/user_info.cpp b/protocols/Yahoo/src/user_info.cpp
index 4f3bc291b3..9aba43ac7a 100644
--- a/protocols/Yahoo/src/user_info.cpp
+++ b/protocols/Yahoo/src/user_info.cpp
@@ -26,7 +26,7 @@ static INT_PTR CALLBACK YahooUserInfoDlgProc( HWND hwndDlg, UINT msg, WPARAM wPa
switch ( msg ) {
case WM_INITDIALOG:
// lParam is hContact
- TranslateDialogDefault( hwndDlg );
+ TranslateDialogDefault(hwndDlg );
//SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)LoadSkinnedIcon(SKINICON_OTHER_USERDETAILS));
@@ -62,27 +62,27 @@ static INT_PTR CALLBACK YahooUserInfoDlgProc( HWND hwndDlg, UINT msg, WPARAM wPa
DBVARIANT dbv;
char z[128];
- if (ppro->getString( hContact, YAHOO_LOGINID, &dbv ) == 0) {
+ if (ppro->getString( hContact, YAHOO_LOGINID, &dbv) == 0) {
strcpy(z, dbv.pszVal);
- db_free( &dbv );
+ db_free(&dbv);
} else {
strcpy(z, "???");
}
SetDlgItemTextA(hwndDlg, IDC_SEARCH_ID, z);
- if (ppro->getString( hContact, "Transport", &dbv ) == 0) {
+ if (ppro->getString( hContact, "Transport", &dbv) == 0) {
strcpy(z, dbv.pszVal);
- db_free( &dbv );
+ db_free(&dbv);
} else {
strcpy(z, "Yahoo");
}
SetDlgItemTextA(hwndDlg, IDC_SEARCH_PROTOCOL, z);
- if (ppro->getString( hContact, "MirVer", &dbv ) == 0) {
+ if (ppro->getString( hContact, "MirVer", &dbv) == 0) {
strcpy(z, dbv.pszVal);
- db_free( &dbv );
+ db_free(&dbv);
} else {
strcpy(z, "???");
}