Showing the changes to src/core/chuck_errmsg.cpp (1 of 14 files). Show all
Unified · Split
| @@ -576,7 +576,7 @@ void EM_log( t_CKINT level, const char * message, ... ) · 575 unmodified lines | ||
| 576 | 576 | { |
| 577 | 577 | va_list ap; |
| 578 | 578 | |
| 579 | − if( level > CK_LOG_CRAZY ) level = CK_LOG_CRAZY; | |
| 579 | + if( level > CK_LOG_ALL ) level = CK_LOG_ALL; | |
| 580 | 580 | else if( level <= CK_LOG_NONE ) level = CK_LOG_NONE + 1; |
| 581 | 581 | |
| 582 | 582 | // check level |
| @@ -607,7 +607,7 @@ void EM_log( t_CKINT level, const char * message, ... ) · 24 unmodified lines | ||
| 607 | 607 | // set log level |
| 608 | 608 | void EM_setlog( t_CKINT level ) |
| 609 | 609 | { |
| 610 | − if( level > CK_LOG_CRAZY ) level = CK_LOG_CRAZY; | |
| 610 | + if( level > CK_LOG_ALL ) level = CK_LOG_ALL; | |
| 611 | 611 | else if( level < CK_LOG_NONE ) level = CK_LOG_NONE; |
| 612 | 612 | g_loglevel = level; |
| 613 | 613 | |