[quake3-commits] r1827 - trunk/code/qcommon

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jan 27 11:41:08 EST 2011


Author: thilo
Date: 2011-01-27 11:41:08 -0500 (Thu, 27 Jan 2011)
New Revision: 1827

Modified:
   trunk/code/qcommon/vm_x86_64_assembler.c
Log:
Make Ludwig happy


Modified: trunk/code/qcommon/vm_x86_64_assembler.c
===================================================================
--- trunk/code/qcommon/vm_x86_64_assembler.c	2011-01-27 16:40:15 UTC (rev 1826)
+++ trunk/code/qcommon/vm_x86_64_assembler.c	2011-01-27 16:41:08 UTC (rev 1827)
@@ -248,7 +248,7 @@
 	
 	labellen = strlen(label) + 1;
 	h->label = malloc(labellen);
-	Com_sprintf(h->label, labellen, "%s", label);
+	memcpy(h->label, label, labellen);
 	
 	h->address = address;
 	h->next = labelhash[i];



More information about the quake3-commits mailing list