Remove newlines from Com_Error calls, patch by DevHC

This commit is contained in:
Thilo Schulz 2011-05-14 14:32:43 +00:00
parent 4cfb7d376b
commit 4b9ab42c2c
12 changed files with 38 additions and 38 deletions

View file

@ -780,14 +780,14 @@ image_t *R_CreateImage( const char *name, const byte *pic, int width, int height
long hash;
if (strlen(name) >= MAX_QPATH ) {
ri.Error (ERR_DROP, "R_CreateImage: \"%s\" is too long\n", name);
ri.Error (ERR_DROP, "R_CreateImage: \"%s\" is too long", name);
}
if ( !strncmp( name, "*lightmap", 9 ) ) {
isLightmap = qtrue;
}
if ( tr.numImages == MAX_DRAWIMAGES ) {
ri.Error( ERR_DROP, "R_CreateImage: MAX_DRAWIMAGES hit\n");
ri.Error( ERR_DROP, "R_CreateImage: MAX_DRAWIMAGES hit");
}
image = tr.images[tr.numImages] = ri.Hunk_Alloc( sizeof( image_t ), h_low );