wined3d: Remove an unwanted trailing '\n' in shader_dump_register().

Francois Gouget fgouget at free.fr
Wed Sep 19 13:43:15 CDT 2012


---

The other paths in that function don't output a trailing '\n'. My 
understanding is that it is the callers of shader_dump_register() that 
are supposed to put out a trailing '\n' where it makes sense (i.e. 
after other output).

 dlls/wined3d/shader.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/shader.c b/dlls/wined3d/shader.c
index aaf3446..a5d503a 100644
--- a/dlls/wined3d/shader.c
+++ b/dlls/wined3d/shader.c
@@ -1037,7 +1037,7 @@ static void shader_dump_register(const struct wined3d_shader_register *reg,
                                 reg->immconst_data[2], reg->immconst_data[3]);
                         break;
                     default:
-                        TRACE("<unhandled data type %#x>\n", reg->data_type);
+                        TRACE("<unhandled data type %#x>", reg->data_type);
                         break;
                 }
                 break;
-- 
1.7.10.4




More information about the wine-patches mailing list