mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
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:
parent
0c7f4c2494
commit
b8836ec6c5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user