From: Ian Romanick Date: Tue, 3 May 2011 16:50:53 +0000 (-0700) Subject: glsl: Remove extra newline from error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0f0179b8c278854fdbef283c5abaf95ad33351c3;p=mesa.git glsl: Remove extra newline from error message --- 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 = " ";