diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-06-18 12:17:13 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-06-18 12:17:13 +0000 |
commit | 55b20b91a10fe7199a9e8263e3431cd607a7cee0 (patch) | |
tree | 88ca9ef3db1174044215192b543f007afebea3d4 /tipper/popwin.cpp | |
parent | 408a0da710805ea5e762fe27a7e799fdf33b89b3 (diff) |
utf8 patch from george (thx)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@203 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'tipper/popwin.cpp')
-rw-r--r-- | tipper/popwin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |