From 0e7662b36dd4db0c04438813699a32f3299921ff Mon Sep 17 00:00:00 2001 From: Andre Bernet Date: Mon, 4 Apr 2016 20:34:17 +0400 Subject: [PATCH] Compilation fix --- radio/src/gui/horus/menu_model_custom_functions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/gui/horus/menu_model_custom_functions.cpp b/radio/src/gui/horus/menu_model_custom_functions.cpp index 0edf4f714..dcaa2ee48 100644 --- a/radio/src/gui/horus/menu_model_custom_functions.cpp +++ b/radio/src/gui/horus/menu_model_custom_functions.cpp @@ -298,7 +298,7 @@ bool menuCustomFunctions(evt_t event, CustomFunctionData * functions, CustomFunc putsMixerSource(MODEL_CUSTOM_FUNC_3RD_COLUMN, y, val_displayed, attr); if (active) { INCDEC_SET_FLAG(eeFlags | INCDEC_SOURCE); - INCDEC_ENABLE_CHECK(functionsContext == &globalFunctionsContext ? isSourceAvailableInGlobalFunctions : isSourceAvailable); + INCDEC_ENABLE_CHECK(functions == g_eeGeneral.customFn ? isSourceAvailableInGlobalFunctions : isSourceAvailable); } } #endif