diff options
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); |