From 0f0179b8c278854fdbef283c5abaf95ad33351c3 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 3 May 2011 09:50:53 -0700 Subject: [PATCH] glsl: Remove extra newline from error message --- src/glsl/ast_function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp index 67147b6718f..3ba699ad971 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 = " "; -- 2.30.2