From 9e46265046fab3fc16fc7e3f400068445bf58889 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Fri, 10 Aug 2001 17:41:08 +0000 Subject: [PATCH] fix a silly error causing integer constants to not be re-used --- tools/qfcc/source/pr_imm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/source/pr_imm.c b/tools/qfcc/source/pr_imm.c index d1b5d98e8..67e443776 100644 --- a/tools/qfcc/source/pr_imm.c +++ b/tools/qfcc/source/pr_imm.c @@ -77,7 +77,7 @@ int_imm_get_key (void *_def, void *_str) def_t *def = (def_t*)_def; static char rep[60]; char *str = (char*)_str; - sprintf (rep, "\001%s:%08X", str, G_INT(def->ofs)); + sprintf (rep, "\001%s:%08X\001", str, G_INT(def->ofs)); return rep; }