richedit: Fixed test failing on windows version with larger font sizes

Juan Lang juan.lang at gmail.com
Mon Sep 29 14:59:37 CDT 2008


Hi Dylan,

@@ -402,6 +401,10 @@ static void test_EM_SCROLLCARET(void)
       "ff\n"
       "gg\n"
       "hh\n";
+  HWND hwndRichEdit = CreateWindow(RICHEDIT_CLASS, NULL,
+
ES_MULTILINE|WS_POPUP|WS_HSCROLL|WS_VSCROLL|WS_VISIBLE,
+                                   0, 0, 200, 80, NULL, NULL,
hmoduleRichEdit, NULL);
+  ok(hwndRichEdit != NULL, "class: %s, error: %d\n", RICHEDIT_CLASS,
(int) GetLastError());

It seems to me in this case that describing the relevant parameters to
CreateWindow--I assume just height?--and why they're important to the
test might help people not break the test in the future.
--Juan



More information about the wine-devel mailing list