[FORMATTING] Remove trailing whitespace. Addendum to 34593d93.

Excluded: 3rd-party code (incl. wine) and most of the win32ss.
This commit is contained in:
Hermès Bélusca-Maïto 2021-09-13 03:33:14 +02:00
parent bbabe2489e
commit 9393fc320e
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
701 changed files with 14685 additions and 14693 deletions

View file

@ -25,7 +25,7 @@ static int get_iwnd(HWND hWnd)
static LRESULT CALLBACK TestProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
int iwnd = get_iwnd(hwnd);
if(message > WM_USER || !iwnd || message == WM_GETICON)
return DefWindowProc(hwnd, message, wParam, lParam);
@ -99,9 +99,9 @@ void Test_Messages()
DrawThemeParentBackground(hWnd1, hdc, NULL);
FlushMessages();
COMPARE_CACHE(empty_chain);
memset(&rc, 0, sizeof(rc));
DrawThemeParentBackground(hWnd2, hdc, &rc);
FlushMessages();
COMPARE_CACHE(draw_parent_chain);

View file

@ -4,7 +4,7 @@
* PURPOSE: Test for SetThemeAppProperties
* PROGRAMMERS: Giannis Adamopoulos
*/
#include <apitest.h>
#include <stdio.h>
#include <windows.h>
@ -25,16 +25,16 @@ START_TEST(SetThemeAppProperties)
}
SetLastError(0xdeadbeef);
bThemeActive = IsAppThemed();
ok (bThemeActive == FALSE, "\n");
ok( GetLastError() == 0, "Expected 0 last error, got 0x%lx\n", GetLastError());
SetLastError(0xdeadbeef);
SetLastError(0xdeadbeef);
hTheme = OpenThemeData(NULL, L"BUTTON");
ok (hTheme == NULL, "\n");
ok( GetLastError() == E_PROP_ID_UNSUPPORTED, "Expected E_PROP_ID_UNSUPPORTED last error, got 0x%lx\n", GetLastError());
hWnd = CreateWindowExA(0, "static", "", WS_POPUP, 0,0,100,100,0, 0, 0, NULL);
ok (hWnd != NULL, "\n");
@ -57,7 +57,7 @@ START_TEST(SetThemeAppProperties)
bThemeActive = IsAppThemed();
ok (bThemeActive == TRUE, "\n");
SetLastError(0xdeadbeef);
hTheme = OpenThemeData(NULL, L"BUTTON");
ok (hTheme == NULL, "\n");
@ -71,7 +71,7 @@ START_TEST(SetThemeAppProperties)
hTheme = OpenThemeDataEx (NULL, L"BUTTON", 0);
ok (hTheme == NULL, "\n");
ok( GetLastError() == E_PROP_ID_UNSUPPORTED, "Expected E_PROP_ID_UNSUPPORTED last error, got 0x%lx\n", GetLastError());
SetThemeAppProperties(STAP_ALLOW_CONTROLS);
SetLastError(0xdeadbeef);