From 55b20b91a10fe7199a9e8263e3431cd607a7cee0 Mon Sep 17 00:00:00 2001 From: sje Date: Mon, 18 Jun 2007 12:17:13 +0000 Subject: utf8 patch from george (thx) git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@203 4f64403b-2f21-0410-a795-97e2b3489a10 --- tipper/popwin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tipper/popwin.cpp') diff --git a/tipper/popwin.cpp b/tipper/popwin.cpp index bc570b5..2189517 100644 --- a/tipper/popwin.cpp +++ b/tipper/popwin.cpp @@ -70,9 +70,9 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa a2t(pwd->clcit.proto, pwd->swzTitle, TITLE_TEXT_LEN); TCHAR uid_buff[256], uid_name_buff[256]; - if(uid(0, pwd->clcit.proto, uid_buff, 256) && uid_name(pwd->clcit.proto, uid_name_buff, 253)) { // 253 to leave room for ': ' + if(uid(0, pwd->clcit.proto, uid_buff, 256) && uid_name(pwd->clcit.proto, uid_name_buff, 253)) { // 253 to leave room for ': ' _tcscat(uid_name_buff, _T(": ")); - + pwd->rows = (RowData *) realloc(pwd->rows, sizeof(RowData) * (pwd->row_count + 1)); pwd->rows[pwd->row_count].swzLabel = _tcsdup(uid_name_buff); -- cgit v1.2.3