Christian Costa : d3dxof: Turn some TRACEs into WARNs in case of parsing error.
Alexandre Julliard
julliard at winehq.org
Wed Mar 3 11:15:45 CST 2010
Module: wine
Branch: master
Commit: cafb20bb5c1440ec373353fd718ec4fdb127d48b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cafb20bb5c1440ec373353fd718ec4fdb127d48b
Author: Christian Costa <titan.costa at wanadoo.fr>
Date: Wed Mar 3 08:52:43 2010 +0100
d3dxof: Turn some TRACEs into WARNs in case of parsing error.
---
dlls/d3dxof/d3dxof.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dlls/d3dxof/d3dxof.c b/dlls/d3dxof/d3dxof.c
index 88a9e52..b8c85e0 100644
--- a/dlls/d3dxof/d3dxof.c
+++ b/dlls/d3dxof/d3dxof.c
@@ -303,7 +303,7 @@ static HRESULT WINAPI IDirectXFileImpl_CreateEnumObject(IDirectXFile* iface, LPV
{
if (!parse_template(&object->buf))
{
- TRACE("Template is not correct\n");
+ WARN("Template is not correct\n");
hr = DXFILEERR_BADVALUE;
goto error;
}
@@ -418,7 +418,7 @@ static HRESULT WINAPI IDirectXFileImpl_RegisterTemplates(IDirectXFile* iface, LP
{
if (!parse_template(&buf))
{
- TRACE("Template is not correct\n");
+ WARN("Template is not correct\n");
return DXFILEERR_BADVALUE;
}
else
@@ -1051,7 +1051,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
{
if (!parse_template(&This->buf))
{
- TRACE("Template is not correct\n");
+ WARN("Template is not correct\n");
hr = DXFILEERR_BADVALUE;
goto error;
}
@@ -1099,7 +1099,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
if (!parse_object(&This->buf))
{
- TRACE("Object is not correct\n");
+ WARN("Object is not correct\n");
hr = DXFILEERR_PARSEERROR;
goto error;
}
More information about the wine-cvs
mailing list