Rob Shearman : shell32: Fix style in autocomplete tests to more match the typical style used in the rest of Wine .

Alexandre Julliard julliard at winehq.org
Wed Dec 30 10:18:14 CST 2009


Module: wine
Branch: master
Commit: 0fd772be996d895ace3bd4d957c1fc487e5cffd0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0fd772be996d895ace3bd4d957c1fc487e5cffd0

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Tue Dec 29 19:01:29 2009 +0000

shell32: Fix style in autocomplete tests to more match the typical style used in the rest of Wine.

---

 dlls/shell32/tests/autocomplete.c |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/dlls/shell32/tests/autocomplete.c b/dlls/shell32/tests/autocomplete.c
index 20315c7..ab60259 100644
--- a/dlls/shell32/tests/autocomplete.c
+++ b/dlls/shell32/tests/autocomplete.c
@@ -33,7 +33,8 @@ static HWND hMainWnd, hEdit;
 static HINSTANCE hinst;
 static int killfocus_count;
 
-static BOOL test_init(void) {
+static BOOL test_init(void)
+{
     HRESULT r;
     IAutoComplete* ac;
     IUnknown *acSource;
@@ -64,7 +65,9 @@ static BOOL test_init(void) {
 
     return TRUE;
 }
-static void test_killfocus(void) {
+
+static void test_killfocus(void)
+{
     /* Test if WM_KILLFOCUS messages are handled properly by checking if
      * the parent receives an EN_KILLFOCUS message. */
     SetFocus(hEdit);
@@ -72,7 +75,9 @@ static void test_killfocus(void) {
     SetFocus(0);
     ok(killfocus_count == 1, "Expected one EN_KILLFOCUS message, got: %d\n", killfocus_count);
 }
-static LRESULT CALLBACK MyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) {
+
+static LRESULT CALLBACK MyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
+{
     switch(msg) {
     case WM_CREATE:
         /* create edit control */
@@ -87,7 +92,9 @@ static LRESULT CALLBACK MyWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPa
     }
     return DefWindowProcA(hWnd, msg, wParam, lParam);
 }
-static void createMainWnd(void) {
+
+static void createMainWnd(void)
+{
     WNDCLASSA wc;
     wc.style = CS_HREDRAW | CS_VREDRAW;
     wc.cbClsExtra = 0;
@@ -104,7 +111,9 @@ static void createMainWnd(void) {
     hMainWnd = CreateWindowExA(0, "MyTestWnd", "Blah", WS_OVERLAPPEDWINDOW,
       CW_USEDEFAULT, CW_USEDEFAULT, 130, 105, NULL, NULL, GetModuleHandleA(NULL), 0);
 }
-START_TEST(autocomplete) {
+
+START_TEST(autocomplete)
+{
     HRESULT r;
     MSG msg;
 




More information about the wine-cvs mailing list