Changelog: * dlls/oleaut32/tests/vartest.c Remove unnecessary sprintf calls Index: dlls/oleaut32/tests/vartest.c =================================================================== RCS file: /home/wine/wine/dlls/oleaut32/tests/vartest.c,v retrieving revision 1.5 diff -u -r1.5 vartest.c --- dlls/oleaut32/tests/vartest.c 24 Dec 2002 00:49:27 -0000 1.5 +++ dlls/oleaut32/tests/vartest.c 24 Dec 2002 03:16:35 -0000 @@ -2589,26 +2590,30 @@ d = 4.123; V_UNION(&va,dblVal) = d; rc = VariantCopyInd( &vb, &va ); - sprintf(msg,"vt %d, return value %lx, expected was %lx",vartypes[i].ind,rc,vartypes[i].vcind1); - ok(vartypes[i].vcind1 == rc, msg); + ok(vartypes[i].vcind1 == rc, + "vt %d, return value %lx, expected was %lx", + vartypes[i].ind,rc,vartypes[i].vcind1); V_VT(&va) = vartypes[i].ind | VT_BYREF; d = 4.123; V_UNION(&va,pdblVal) = &d; rc = VariantCopyInd( &vb, &va ); - sprintf(msg,"vt %d, return value %lx, expected was %lx",vartypes[i].ind,rc,vartypes[i].vcind2); - ok(vartypes[i].vcind2 == rc, msg); + ok(vartypes[i].vcind2 == rc, + "vt %d, return value %lx, expected was %lx", + vartypes[i].ind,rc,vartypes[i].vcind2); V_VT(&va) = VT_R8; d = 4.123; V_UNION(&va,dblVal) = d; rc = VariantChangeTypeEx( &vb, &va, 0, 0, i ); - sprintf(msg,"vt %d, return value %lx, expected was %lx",vartypes[i].ind,rc,vartypes[i].vcex1); - ok(vartypes[i].vcex1 == rc, msg); + ok(vartypes[i].vcex1 == rc, + "vt %d, return value %lx, expected was %lx", + vartypes[i].ind,rc,vartypes[i].vcex1); V_VT(&va) = VT_R8; d = 4.123; V_UNION(&va,dblVal) = d; rc = VariantChangeTypeEx( &vb, &va, 0, 0, i | VT_BYREF ); - sprintf(msg,"vt %d, return value %lx, expected was %lx",vartypes[i].ind,rc,vartypes[i].vcex1); - ok(vartypes[i].vcex2 == rc, msg); + ok(vartypes[i].vcex2 == rc, + "vt %d, return value %lx, expected was %lx", + vartypes[i].ind,rc,vartypes[i].vcex1); V_VT(&va) = 99; d = 4.123; -- Francois Gouget fgouget@free.fr http://fgouget.free.fr/ Broadcast message : fin du monde dans cinq minutes, repentez vous !