Module: Mesa
Branch: master
Commit: 0f0179b8c278854fdbef283c5abaf95ad33351c3
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0f0179b8c278854fdbef283c5abaf95ad33351c3

Author: Ian Romanick <[email protected]>
Date:   Tue May  3 09:50:53 2011 -0700

glsl: Remove extra newline from error message

---

 src/glsl/ast_function.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp
index 67147b6..3ba699a 100644
--- a/src/glsl/ast_function.cpp
+++ b/src/glsl/ast_function.cpp
@@ -238,7 +238,7 @@ match_function_by_name(exec_list *instructions, const char 
*name,
            ir_function_signature *sig = (ir_function_signature *) node;
 
            str = prototype_string(sig->return_type, f->name, &sig->parameters);
-           _mesa_glsl_error(loc, state, "%s%s\n", prefix, str);
+           _mesa_glsl_error(loc, state, "%s%s", prefix, str);
            ralloc_free(str);
 
            prefix = "                ";

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to