Small typo that wasted millions of instructions.

Now that #define CRENGINE_DEBUG is handled correctly, all those pesky
messages from crengine are gone and so the performance of crereader
should be much better --- remember that under some circumstances
crengine generates literally THOUSANDS of debug messages per second
(e.g. when complaining about corrupt TOC nodes and there are _plenty_ of
fb2 files out there which have an invalid structure).
pull/2/merge
Tigran Aivazian 12 years ago committed by Qingping Hou
parent 812d52c1fa
commit 9e786e0eed

@ -575,7 +575,7 @@ int luaopen_cre(lua_State *L) {
/* initialize font manager for CREngine */
InitFontManager(lString8());
#ifdef DEBUG_CRENGINE
#if DEBUG_CRENGINE
CRLog::setStdoutLogger();
CRLog::setLogLevel(CRLog::LL_DEBUG);
#endif

Loading…
Cancel
Save