summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/src/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/src/dialogs.cpp')
-rw-r--r--protocols/Gadu-Gadu/src/dialogs.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/Gadu-Gadu/src/dialogs.cpp b/protocols/Gadu-Gadu/src/dialogs.cpp
index 82a635c024..50616a407b 100644
--- a/protocols/Gadu-Gadu/src/dialogs.cpp
+++ b/protocols/Gadu-Gadu/src/dialogs.cpp
@@ -832,28 +832,28 @@ static INT_PTR CALLBACK gg_detailsdlgproc(HWND hwndDlg, UINT msg, WPARAM wParam,
req = gg_pubdir50_new(GG_PUBDIR50_WRITE);
GetDlgItemText(hwndDlg, IDC_FIRSTNAME, text, SIZEOF(text));
- if (_tcslen(text)){
+ if (mir_tstrlen(text)){
char* text_utf8 = mir_utf8encodeT(text);
gg_pubdir50_add(req, GG_PUBDIR50_FIRSTNAME, text_utf8);
mir_free(text_utf8);
}
GetDlgItemText(hwndDlg, IDC_LASTNAME, text, SIZEOF(text));
- if (_tcslen(text)){
+ if (mir_tstrlen(text)){
char* text_utf8 = mir_utf8encodeT(text);
gg_pubdir50_add(req, GG_PUBDIR50_LASTNAME, text_utf8);
mir_free(text_utf8);
}
GetDlgItemText(hwndDlg, IDC_NICKNAME, text, SIZEOF(text));
- if (_tcslen(text)){
+ if (mir_tstrlen(text)){
char* text_utf8 = mir_utf8encodeT(text);
gg_pubdir50_add(req, GG_PUBDIR50_NICKNAME, text_utf8);
mir_free(text_utf8);
}
GetDlgItemText(hwndDlg, IDC_CITY, text, SIZEOF(text));
- if (_tcslen(text)){
+ if (mir_tstrlen(text)){
char* text_utf8 = mir_utf8encodeT(text);
gg_pubdir50_add(req, GG_PUBDIR50_CITY, text_utf8);
mir_free(text_utf8);
@@ -872,21 +872,21 @@ static INT_PTR CALLBACK gg_detailsdlgproc(HWND hwndDlg, UINT msg, WPARAM wParam,
}
GetDlgItemText(hwndDlg, IDC_BIRTHYEAR, text, SIZEOF(text));
- if (_tcslen(text)){
+ if (mir_tstrlen(text)){
char* text_utf8 = mir_utf8encodeT(text);
gg_pubdir50_add(req, GG_PUBDIR50_BIRTHYEAR, text_utf8);
mir_free(text_utf8);
}
GetDlgItemText(hwndDlg, IDC_FAMILYNAME, text, SIZEOF(text));
- if (_tcslen(text)){
+ if (mir_tstrlen(text)){
char* text_utf8 = mir_utf8encodeT(text);
gg_pubdir50_add(req, GG_PUBDIR50_FAMILYNAME, text_utf8);
mir_free(text_utf8);
}
GetDlgItemText(hwndDlg, IDC_CITYORIGIN, text, SIZEOF(text));
- if (_tcslen(text)){
+ if (mir_tstrlen(text)){
char* text_utf8 = mir_utf8encodeT(text);
gg_pubdir50_add(req, GG_PUBDIR50_FAMILYCITY, text_utf8);
mir_free(text_utf8);