Fix message printing in Mem.cpp

This commit is contained in:
Ivan Skytte Jørgensen
2016-02-29 16:32:27 +01:00
parent 743f6e3ac3
commit 1838911c60

@ -548,7 +548,7 @@ void Mem::addMem ( void *mem , int32_t size , const char *note , char isnew ) {
if ( (int32_t)m_numAllocated + 100 >= (int32_t)m_memtablesize ) {
bool s_printed = false;
static bool s_printed = false;
if ( ! s_printed ) {
log("mem: using too many slots");
printMem();