summaryrefslogtreecommitdiff
path: root/src/qcommon/msg.c
diff options
context:
space:
mode:
authorThilo Schulz <arny@ats.s.bawue.de>2011-05-12 14:02:48 +0000
committerTim Angus <tim@ngus.net>2013-01-09 22:15:38 +0000
commitc6d43a9ba93e079153f298cf8ec978e4cb1f0a38 (patch)
tree40bb42d874cd82a2b50b5ccf712203a80d431ded /src/qcommon/msg.c
parentb4597c4d44c8b9f02a9129a7885b8a41c095d514 (diff)
Remove newlines from Com_Error message format strings, patch by DevHC
Diffstat (limited to 'src/qcommon/msg.c')
-rw-r--r--src/qcommon/msg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qcommon/msg.c b/src/qcommon/msg.c
index 05a7aa9f..d20803b4 100644
--- a/src/qcommon/msg.c
+++ b/src/qcommon/msg.c
@@ -156,7 +156,7 @@ void MSG_WriteBits( msg_t *msg, int value, int bits ) {
msg->cursize += 4;
msg->bit += 32;
} else {
- Com_Error(ERR_DROP, "can't read %d bits\n", bits);
+ Com_Error(ERR_DROP, "can't read %d bits", bits);
}
} else {
// fp = fopen("c:\\netchan.bin", "a");
@@ -214,7 +214,7 @@ int MSG_ReadBits( msg_t *msg, int bits ) {
msg->readcount += 4;
msg->bit += 32;
} else {
- Com_Error(ERR_DROP, "can't read %d bits\n", bits);
+ Com_Error(ERR_DROP, "can't read %d bits", bits);
}
} else {
nbits = 0;