From 2adfeadacd6f7f045a316b09650176a4bf1dab55 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Mon, 11 Feb 2013 16:37:00 -0600 Subject: Remove newlines from Rend2 error messages --- src/rend2/tr_vbo.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/rend2/tr_vbo.c') diff --git a/src/rend2/tr_vbo.c b/src/rend2/tr_vbo.c index 65946f18..483df2e3 100644 --- a/src/rend2/tr_vbo.c +++ b/src/rend2/tr_vbo.c @@ -49,11 +49,11 @@ VBO_t *R_CreateVBO(const char *name, byte * vertexes, int vertexesSize, if(strlen(name) >= MAX_QPATH) { - ri.Error(ERR_DROP, "R_CreateVBO: \"%s\" is too long\n", name); + ri.Error(ERR_DROP, "R_CreateVBO: \"%s\" is too long", name); } if ( tr.numVBOs == MAX_VBOS ) { - ri.Error( ERR_DROP, "R_CreateVBO: MAX_VBOS hit\n"); + ri.Error( ERR_DROP, "R_CreateVBO: MAX_VBOS hit"); } R_IssuePendingRenderCommands(); @@ -117,11 +117,11 @@ VBO_t *R_CreateVBO2(const char *name, int numVertexes, srfVert_t * vert if(strlen(name) >= MAX_QPATH) { - ri.Error(ERR_DROP, "R_CreateVBO2: \"%s\" is too long\n", name); + ri.Error(ERR_DROP, "R_CreateVBO2: \"%s\" is too long", name); } if ( tr.numVBOs == MAX_VBOS ) { - ri.Error( ERR_DROP, "R_CreateVBO2: MAX_VBOS hit\n"); + ri.Error( ERR_DROP, "R_CreateVBO2: MAX_VBOS hit"); } R_IssuePendingRenderCommands(); @@ -466,11 +466,11 @@ IBO_t *R_CreateIBO(const char *name, byte * indexes, int indexesSize, v if(strlen(name) >= MAX_QPATH) { - ri.Error(ERR_DROP, "R_CreateIBO: \"%s\" is too long\n", name); + ri.Error(ERR_DROP, "R_CreateIBO: \"%s\" is too long", name); } if ( tr.numIBOs == MAX_IBOS ) { - ri.Error( ERR_DROP, "R_CreateIBO: MAX_IBOS hit\n"); + ri.Error( ERR_DROP, "R_CreateIBO: MAX_IBOS hit"); } R_IssuePendingRenderCommands(); @@ -534,11 +534,11 @@ IBO_t *R_CreateIBO2(const char *name, int numTriangles, srfTriangle_t * if(strlen(name) >= MAX_QPATH) { - ri.Error(ERR_DROP, "R_CreateIBO2: \"%s\" is too long\n", name); + ri.Error(ERR_DROP, "R_CreateIBO2: \"%s\" is too long", name); } if ( tr.numIBOs == MAX_IBOS ) { - ri.Error( ERR_DROP, "R_CreateIBO2: MAX_IBOS hit\n"); + ri.Error( ERR_DROP, "R_CreateIBO2: MAX_IBOS hit"); } R_IssuePendingRenderCommands(); -- cgit