diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-12 21:12:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-12 21:12:10 +0000 |
commit | a120fa48d18068380f5f3045879b9aaa707b7e1e (patch) | |
tree | d314c56ba90c8886c111be5457d73a015484c37c /src/core/stdauth | |
parent | a1a5930ab1f10f6e65fe609ee4ce0bcef4459bc1 (diff) |
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@9780 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdauth')
-rw-r--r-- | src/core/stdauth/authdialogs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdauth/authdialogs.cpp b/src/core/stdauth/authdialogs.cpp index d4584ceef9..92e5234f89 100644 --- a/src/core/stdauth/authdialogs.cpp +++ b/src/core/stdauth/authdialogs.cpp @@ -194,7 +194,7 @@ INT_PTR CALLBACK DlgProcAuthReq(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP off = mir_sntprintf(name, SIZEOF(name), _T("%s"), (TCHAR*)firstT);
else if (lastT[0])
off = mir_sntprintf(name, SIZEOF(name), _T("%s"), (TCHAR*)lastT);
- if (nickT[0]) {
+ if (lstrlen(nickT)) {
if (off)
mir_sntprintf(name + off, SIZEOF(name) - off, _T(" (%s)"), (TCHAR*)nickT);
else
|