wined3d: Add a missing '\n' to a trace.

Francois Gouget fgouget at free.fr
Thu May 10 11:51:00 CDT 2007


---

The lack of a trailing '\n' was probably intentional, the goal being for 
the next string to be printed on the same line.

But imho this is not warranted. I prefer to use the regular '\n' form 
here. This way the first message be logged right away which is better if 
there is a crash or extra tracing before the second trace.

 dlls/wined3d/surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c
index 9829f22..b6b2ac1 100644
--- a/dlls/wined3d/surface.c
+++ b/dlls/wined3d/surface.c
@@ -2659,7 +2659,7 @@ static HRESULT IWineD3DSurfaceImpl_BltOverride(IWineD3DSurfaceImpl *This, RECT *
         while(1)
         {
             RECT mySrcRect;
-            TRACE("Looking if a Present can be done... ");
+            TRACE("Looking if a Present can be done...\n");
             /* Source Rectangle must be full surface */
             if( SrcRect ) {
                 if(SrcRect->left != 0 || SrcRect->top != 0 ||
-- 
1.4.4.4




More information about the wine-patches mailing list