From 3f7ca00e6db611c08cecdca561fef7241b4ccfad Mon Sep 17 00:00:00 2001 From: FIX94 Date: Fri, 24 Jun 2016 18:03:51 +0200 Subject: [PATCH] corrected a switch case, makes ngc build (and probably others) boot up again --- tasks/task_content.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tasks/task_content.c b/tasks/task_content.c index 115177d3ee..cedca3529a 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -1842,11 +1842,12 @@ bool task_push_content_load_default( /* Fork core? */ switch (mode) { - case 0: - default: + case CONTENT_MODE_LOAD_NOTHING_WITH_NEW_CORE_FROM_MENU: if (!frontend_driver_set_fork(FRONTEND_FORK_CORE)) return false; break; + default: + break; } #endif