diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-03 12:39:25 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-03 12:39:25 +0300 |
commit | aad7cea75cbd6394cd9c61d33997b77e3e4e6424 (patch) | |
tree | 22521ffd4aa21e871cd9cf3f05bb40b5ba10b423 /plugins/TipperYM/src/popwin.cpp | |
parent | 4cd0aa5643498a9be9a2fc3ed6e1a88807d4dc8f (diff) |
fixes #3698 (Tipper: Не показывает текст в подсказках контактного листа)
Diffstat (limited to 'plugins/TipperYM/src/popwin.cpp')
-rw-r--r-- | plugins/TipperYM/src/popwin.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/TipperYM/src/popwin.cpp b/plugins/TipperYM/src/popwin.cpp index 799dc9bee7..3feb8c30ef 100644 --- a/plugins/TipperYM/src/popwin.cpp +++ b/plugins/TipperYM/src/popwin.cpp @@ -285,11 +285,8 @@ LRESULT CALLBACK PopupWindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa if (pwd->iRowCount == 0) { // single item pwd->iRowCount = 1; - pwd->rows = (RowData *)mir_alloc(sizeof(RowData)); - pwd->rows[0].bLineAbove = pwd->rows[0].bValueNewline = false; - pwd->rows[0].swzLabel = nullptr; + pwd->rows = (RowData *)mir_calloc(sizeof(RowData)); pwd->rows[0].swzValue = swzText; - pwd->rows[0].spi = nullptr; } } } |