=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: xmllite/tests: Use common wine_dbgstr_guid implementation from test.h.
Alexandre Julliard
julliard at winehq.org
Wed Jan 29 14:53:32 CST 2014
Module: wine
Branch: master
Commit: 8610af58fef5c73b3d9faf393a122152203eb580
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8610af58fef5c73b3d9faf393a122152203eb580
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Sat Jan 25 15:24:49 2014 +0100
xmllite/tests: Use common wine_dbgstr_guid implementation from test.h.
---
dlls/xmllite/tests/reader.c | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c
index 0888a7e..1f3d306 100644
--- a/dlls/xmllite/tests/reader.c
+++ b/dlls/xmllite/tests/reader.c
@@ -40,17 +40,6 @@ static HRESULT (WINAPI *pCreateXmlReaderInputWithEncodingName)(IUnknown *stream,
BOOL hint,
LPCWSTR base_uri,
IXmlReaderInput **ppInput);
-static const char *debugstr_guid(REFIID riid)
-{
- static char buf[50];
-
- sprintf(buf, "{%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}",
- riid->Data1, riid->Data2, riid->Data3, riid->Data4[0],
- riid->Data4[1], riid->Data4[2], riid->Data4[3], riid->Data4[4],
- riid->Data4[5], riid->Data4[6], riid->Data4[7]);
-
- return buf;
-}
static WCHAR *a2w(const char *str)
{
@@ -169,7 +158,7 @@ static void ok_iids_(const input_iids_t *iids, const IID **expected, const IID *
for (i = 0; i < size; i++) {
ok_(__FILE__, line)(IsEqualGUID(&iids->iids[i], expected[i]) ||
(exp_broken ? broken(IsEqualGUID(&iids->iids[i], exp_broken[i])) : FALSE),
- "Wrong IID(%d), got (%s)\n", i, debugstr_guid(&iids->iids[i]));
+ "Wrong IID(%d), got %s\n", i, wine_dbgstr_guid(&iids->iids[i]));
}
}
#define ok_iids(got, exp, brk, todo) ok_iids_(got, exp, brk, todo, __LINE__)
More information about the wine-cvs
mailing list