Mike McCormack : riched20: Add missing void to parameter list.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Nov 10 05:44:01 CST 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Fri Nov 10 15:42:15 2006 +0900

riched20: Add missing void to parameter list.

---

 dlls/riched20/tests/editor.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dlls/riched20/tests/editor.c b/dlls/riched20/tests/editor.c
index 17ccfcc..bd0b51d 100644
--- a/dlls/riched20/tests/editor.c
+++ b/dlls/riched20/tests/editor.c
@@ -875,25 +875,25 @@ static void test_EM_SETUNDOLIMIT(void)
   DestroyWindow(hwndRichEdit);
 }
 
-static void test_ES_PASSWORD()
+static void test_ES_PASSWORD(void)
 {
   /* This isn't hugely testable, so we're just going to run it through it's paces. */
-	
+
   HWND hwndRichEdit = new_richedit(NULL);
   WCHAR result;
-	
+
   /* First, check the default of a regular control */
   result = SendMessage(hwndRichEdit, EM_GETPASSWORDCHAR, 0, 0);
   ok (result == 0,
 	"EM_GETPASSWORDCHAR returned %c by default, instead of NULL\n",result);
-  
+
   /* Now, set it to something normal */
   SendMessage(hwndRichEdit, EM_SETPASSWORDCHAR, 'x', 0);
   result = SendMessage(hwndRichEdit, EM_GETPASSWORDCHAR, 0, 0);
   ok (result == 120,
 	"EM_GETPASSWORDCHAR returned %c (%d) when set to 'x', instead of x (120)\n",result,result);
-	
-  /* Now, set it to something odd */	
+
+  /* Now, set it to something odd */
   SendMessage(hwndRichEdit, EM_SETPASSWORDCHAR, (WCHAR)1234, 0);
   result = SendMessage(hwndRichEdit, EM_GETPASSWORDCHAR, 0, 0);
   ok (result == 1234,
@@ -901,7 +901,7 @@ static void test_ES_PASSWORD()
   DestroyWindow(hwndRichEdit);
 }
 
-static void test_EM_SETTEXTEX()
+static void test_EM_SETTEXTEX(void)
 {
   HWND hwndRichEdit = new_richedit(NULL);
   SETTEXTEX setText;
@@ -1064,7 +1064,7 @@ static void test_EM_GETLIMITTEXT(void)
   DestroyWindow(hwndRichEdit);
 }
 
-static void test_WM_SETFONT()
+static void test_WM_SETFONT(void)
 {
   /* There is no invalid input or error conditions for this function.
    * NULL wParam and lParam just fall back to their default values 




More information about the wine-cvs mailing list