Alexandre Julliard : shdocvw/tests: Avoid sizeof in trace.
Module: wine Branch: master Commit: 199bcc9c7055f330a3af9462a533e8ec795c7de4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=199bcc9c7055f330a3af9462a5... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Mon Oct 27 11:29:32 2008 +0100 shdocvw/tests: Avoid sizeof in trace. --- dlls/shdocvw/tests/shdocvw.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/dlls/shdocvw/tests/shdocvw.c b/dlls/shdocvw/tests/shdocvw.c index f80a111..cb75f5e 100644 --- a/dlls/shdocvw/tests/shdocvw.c +++ b/dlls/shdocvw/tests/shdocvw.c @@ -117,8 +117,7 @@ static void test_URLSubRegQueryA(void) buffer[sizeof(buffer)-1] = '\0'; hr = pURLSubRegQueryA(regpath_iemain, start_page, REG_SZ, buffer, 0, -1); used = lstrlenA(buffer); - ok((hr == S_OK) && (used == INTERNET_MAX_URL_LENGTH - 1), - "got 0x%x and %d (expected S_OK and %d)\n", hr, used, INTERNET_MAX_URL_LENGTH-1); + ok((hr == S_OK) && (used == INTERNET_MAX_URL_LENGTH - 1), "got 0x%x and %d\n", hr, used); /* still succeed without a buffer for the result */ hr = pURLSubRegQueryA(regpath_iemain, start_page, REG_SZ, NULL, 0, -1);
participants (1)
-
Alexandre Julliard