[NTUSER] Demote ERR to TRACE, also some minor corrections (#3132)
authorKyle Katarn <contact@kcsoftwares.com>
Sat, 5 Sep 2020 14:59:10 +0000 (16:59 +0200)
committerGitHub <noreply@github.com>
Sat, 5 Sep 2020 14:59:10 +0000 (17:59 +0300)
win32ss/user/ntuser/message.c

index ae0c073..2d6164e 100644 (file)
@@ -800,7 +800,7 @@ static LRESULT handle_internal_message( PWND pWnd, UINT msg, WPARAM wparam, LPAR
        }
        case WM_ASYNC_DESTROYWINDOW:
        {
-          ERR("WM_ASYNC_DESTROYWINDOW\n");
+          TRACE("WM_ASYNC_DESTROYWINDOW\n");
           if (pWnd->style & WS_CHILD)
              return co_UserFreeWindow(pWnd, PsGetCurrentProcessWin32Process(), PsGetCurrentThreadWin32Thread(), TRUE);
           else
@@ -1867,8 +1867,8 @@ co_IntSendMessageWithCallBack( HWND hWnd,
 
     if(!(Message = AllocateUserMessage(FALSE)))
     {
-        ERR("MsqSendMessage(): Not enough memory to allocate a message");
-        RETURN( FALSE);
+        ERR("MsqSendMessage(): Not enough memory to allocate a message\n");
+        RETURN(FALSE);
     }
 
     Message->Msg.hwnd = hWnd;