summaryrefslogtreecommitdiff
path: root/source/q_shared.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-11-26 00:01:29 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-11-26 00:01:29 +0000
commit4de7c5a54c5256f65756c80241967d315bf27422 (patch)
treee648359ee950f86700e023e8963b938e065d5f62 /source/q_shared.c
parentb00e7bd024285970dd00cfc75d8e690bfa475501 (diff)
Made automatic pause (opening console or menu) not interfere
with manual pause (typing `pause' command). Fixed command prompt cursor positioning bug introduced in the last commit. Commented out unused chat HUD stuff.
Diffstat (limited to 'source/q_shared.c')
-rw-r--r--source/q_shared.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/q_shared.c b/source/q_shared.c
index 150c95e..c1489fa 100644
--- a/source/q_shared.c
+++ b/source/q_shared.c
@@ -1880,6 +1880,7 @@ int Q_concat( char *buffer, int size, ... ) {
while( ( s = va_arg( argptr, const char * ) ) != NULL ) {
len = strlen( s );
if( total + len >= size ) {
+ Com_DPrintf( "%s: overflow of %d in %d\n", __func__, total + len, size - 1 );
break;
}
memcpy( buffer + total, s, len );