MSGID kludge was broken.

This commit is contained in:
Ianos Gnatiuc 2007-01-08 14:40:53 +00:00
parent 8cdbb0f937
commit a2804d0dcb
2 changed files with 2 additions and 2 deletions

View File

@ -363,7 +363,7 @@ void DoKludges(int mode, GMsg* msg, int kludges) {
gsprintf(PRINTF_DECLARE_BUFFER(msg->msgids), "%s %08x", buf2, getMsgId()); gsprintf(PRINTF_DECLARE_BUFFER(msg->msgids), "%s %08x", buf2, getMsgId());
} }
if (CFG->switches.get(usemsgid) && (AA->basetype() == "PCBOARD")) if (CFG->switches.get(usemsgid) && (AA->basetype() != "PCBOARD"))
{ {
sprintf(buf, "\001MSGID: %s", msg->msgids); sprintf(buf, "\001MSGID: %s", msg->msgids);
line = AddKludge(line, buf); line = AddKludge(line, buf);

View File

@ -27,7 +27,7 @@
#include <golded.h> #include <golded.h>
#include <gutlos.h> #include <gutlos.h>
#if defined(_MSC_VER) && defined(_DEBUG) && defined(_M_IX86) #if 0 && defined(_MSC_VER) && defined(_DEBUG) && defined(_M_IX86)
#include <memleak.h> #include <memleak.h>
static struct LeakFinder static struct LeakFinder