d3dcompiler_43: Remove an unwanted trailing '\n' in debug_dump_instr().
Francois Gouget
fgouget at free.fr
Wed Sep 19 13:50:13 CDT 2012
---
The other paths in that function don't output a trailing '\n'. The way
it currently works is that it is the callers of debug_dump_instr() that
are supposed to put out a trailing '\n' where it makes sense (i.e. after
other output). Given that I think it also makes more sense to enclose
this message in angle brackets.
dlls/d3dcompiler_43/utils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dcompiler_43/utils.c b/dlls/d3dcompiler_43/utils.c
index e0d351c..f993a8d 100644
--- a/dlls/d3dcompiler_43/utils.c
+++ b/dlls/d3dcompiler_43/utils.c
@@ -2023,7 +2023,7 @@ static void debug_dump_instr(const struct hlsl_ir_node *instr)
debug_dump_ir_jump(jump_from_node(instr));
break;
default:
- TRACE("No dump function for %s\n", debug_node_type(instr->type));
+ TRACE("<No dump function for %s>", debug_node_type(instr->type));
}
}
--
1.7.10.4
More information about the wine-patches
mailing list