Fix in lib/logging.c for proper work on 64-bit platforms.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2010-09-27 17:39:26 +03:00 committed by Andrew Borodin
parent 0c7f4c2494
commit b8836ec6c5

View File

@ -48,7 +48,7 @@ is_logging_enabled(void)
static gboolean logging_enabled = FALSE;
if (!logging_initialized) {
logging_enabled = mc_config_get_int (mc_main_config,
logging_enabled = mc_config_get_bool (mc_main_config,
CONFIG_APP_SECTION, "development.enable_logging", FALSE);
logging_initialized = TRUE;
}