Module: wine Branch: master Commit: afb00f7d987617a7351204c2f590d3e708030906 URL: https://gitlab.winehq.org/wine/wine/-/commit/afb00f7d987617a7351204c2f590d3e...
Author: Esme Povirk esme@codeweavers.com Date: Wed Aug 2 13:56:16 2023 -0500
user32/tests: Always generate a description for WM_NCCALCSIZE.
It's confusing to look at a dumped sequence and see empty lines.
---
dlls/user32/tests/msg.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c index cd540db2580..c8ea036d8e6 100644 --- a/dlls/user32/tests/msg.c +++ b/dlls/user32/tests/msg.c @@ -2505,6 +2505,10 @@ static void add_message_(int line, const struct recvd_message *msg) } else { + RECT *rect = (RECT*)msg->lParam; + + sprintf(seq->output, "%s: %p WM_NCCALCSIZE: %s", + msg->descr, msg->hwnd, wine_dbgstr_rect(rect)); seq->lParam = 0; } break;