d3dxof: Turn some TRACEs into WARNs in case of parsing error.
authorChristian Costa <titan.costa@wanadoo.fr>
Wed, 3 Mar 2010 07:52:43 +0000 (08:52 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 3 Mar 2010 10:52:32 +0000 (11:52 +0100)
dlls/d3dxof/d3dxof.c

index 88a9e522770e52f02e2c458c88fbc2bd55828396..b8c85e0ac38b29c304cf27148a917251cb0fc0dd 100644 (file)
@@ -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;
   }